Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

CHomeSearchCtrl Class Reference

#include <CtrlHomeSearch.h>

List of all members.

Public Member Functions

 CHomeSearchCtrl ()
virtual ~CHomeSearchCtrl ()
void Setup (COLORREF crWindow)
void FillHistory ()
virtual BOOL Create (CWnd *pParentWnd, UINT nID)
virtual BOOL PreTranslateMessage (MSG *pMsg)

Public Attributes

CComboBox m_wndText
CSchemaCombo m_wndSchema
CIconButtonCtrl m_wndSearch
CIconButtonCtrl m_wndAdvanced
COLORREF m_crWindow

Protected Member Functions

afx_msg int OnCreate (LPCREATESTRUCT lpCreateStruct)
afx_msg void OnSize (UINT nType, int cx, int cy)
afx_msg void OnPaint ()
afx_msg void OnCloseUpText ()
afx_msg void OnSearchCreate ()
afx_msg void OnSearchAdvanced ()
afx_msg void OnSetFocus (CWnd *pOldWnd)

Private Attributes

CWnd * m_pTextInput


Constructor & Destructor Documentation

CHomeSearchCtrl::CHomeSearchCtrl  ) 
 

Definition at line 57 of file CtrlHomeSearch.cpp.

References NULL.

CHomeSearchCtrl::~CHomeSearchCtrl  )  [virtual]
 

Definition at line 62 of file CtrlHomeSearch.cpp.


Member Function Documentation

BOOL CHomeSearchCtrl::Create CWnd *  pParentWnd,
UINT  nID
[virtual]
 

Definition at line 95 of file CtrlHomeSearch.cpp.

References NULL.

Referenced by CHomeViewCtrl::OnCreate().

void CHomeSearchCtrl::FillHistory  ) 
 

Definition at line 150 of file CtrlHomeSearch.cpp.

References CSchemaCache::Get(), IDS_SEARCH_PAD_CLEAR_HISTORY, LoadString(), m_wndText, SchemaCache, and theApp.

Referenced by OnCloseUpText(), and Setup().

void CHomeSearchCtrl::OnCloseUpText  )  [protected]
 

Definition at line 234 of file CtrlHomeSearch.cpp.

References FillHistory(), m_wndSchema, m_wndText, CSchemaCombo::Select(), and theApp.

int CHomeSearchCtrl::OnCreate LPCREATESTRUCT  lpCreateStruct  )  [protected]
 

Definition at line 101 of file CtrlHomeSearch.cpp.

References CoolInterface, CIconButtonCtrl::Create(), CSchemaCombo::Create(), IDC_SEARCH_ADVANCED, IDC_SEARCH_CREATE, IDC_SEARCH_SCHEMAS, IDC_SEARCH_TEXT, IDS_SEARCH_PANEL_AFT, CSettings::sSearch::LastSchemaURI, CSchemaCombo::Load(), LoadString(), CCoolInterface::m_crWindow, CShareazaApp::m_gdiFont, CSchemaCombo::m_sNoSchemaText, m_wndAdvanced, m_wndSchema, m_wndSearch, m_wndText, CSettings::Search, CIconButtonCtrl::SetHandCursor(), Settings, Setup(), and theApp.

void CHomeSearchCtrl::OnPaint  )  [protected]
 

Definition at line 197 of file CtrlHomeSearch.cpp.

References CoolInterface, IDS_SEARCH_PAD_TYPE, IDS_SEARCH_PAD_WORDS, LoadString(), m_crWindow, CCoolInterface::m_fntBold, and NULL.

void CHomeSearchCtrl::OnSearchAdvanced  )  [protected]
 

Definition at line 312 of file CtrlHomeSearch.cpp.

References ID_TAB_SEARCH.

void CHomeSearchCtrl::OnSearchCreate  )  [protected]
 

Definition at line 251 of file CtrlHomeSearch.cpp.

References AdultFilter, CSchemaCombo::GetSelected(), IDS_SEARCH_PAD_CLEAR_HISTORY, CAdultFilter::IsSearchFiltered(), CSettings::sSearch::LastSchemaURI, LoadString(), CQuerySearch::m_pSchema, CQuerySearch::m_sSearch, CSchema::m_sURI, m_wndSchema, m_wndText, NULL, CQuerySearch::OpenWindow(), CSettings::Search, Settings, CHelpDlg::Show(), and theApp.

void CHomeSearchCtrl::OnSetFocus CWnd *  pOldWnd  )  [protected]
 

Definition at line 328 of file CtrlHomeSearch.cpp.

void CHomeSearchCtrl::OnSize UINT  nType,
int  cx,
int  cy
[protected]
 

Definition at line 171 of file CtrlHomeSearch.cpp.

References m_wndAdvanced, m_wndSchema, m_wndSearch, and m_wndText.

BOOL CHomeSearchCtrl::PreTranslateMessage MSG *  pMsg  )  [virtual]
 

Definition at line 69 of file CtrlHomeSearch.cpp.

References IDC_SEARCH_CREATE, m_pTextInput, m_wndSchema, m_wndSearch, and m_wndText.

void CHomeSearchCtrl::Setup COLORREF  crWindow  ) 
 

Definition at line 129 of file CtrlHomeSearch.cpp.

References CoolInterface, CreateMirroredIcon(), CCoolInterface::ExtractIcon(), FillHistory(), ID_SEARCH_DETAILS, ID_SEARCH_SEARCH, IDS_SEARCH_PANEL_ADVANCED, IDS_SEARCH_PANEL_AFT, IDS_SEARCH_PANEL_START, LoadString(), CShareazaApp::m_bRTL, m_crWindow, CSchemaCombo::m_sNoSchemaText, m_wndAdvanced, m_wndSchema, m_wndSearch, CIconButtonCtrl::SetIcon(), and theApp.

Referenced by OnCreate(), and CHomeViewCtrl::Setup().


Member Data Documentation

COLORREF CHomeSearchCtrl::m_crWindow
 

Definition at line 44 of file CtrlHomeSearch.h.

Referenced by OnPaint(), and Setup().

CWnd* CHomeSearchCtrl::m_pTextInput [private]
 

Definition at line 46 of file CtrlHomeSearch.h.

Referenced by PreTranslateMessage().

CIconButtonCtrl CHomeSearchCtrl::m_wndAdvanced
 

Definition at line 43 of file CtrlHomeSearch.h.

Referenced by OnCreate(), OnSize(), and Setup().

CSchemaCombo CHomeSearchCtrl::m_wndSchema
 

Definition at line 41 of file CtrlHomeSearch.h.

Referenced by OnCloseUpText(), OnCreate(), OnSearchCreate(), OnSize(), PreTranslateMessage(), and Setup().

CIconButtonCtrl CHomeSearchCtrl::m_wndSearch
 

Definition at line 42 of file CtrlHomeSearch.h.

Referenced by OnCreate(), OnSize(), PreTranslateMessage(), and Setup().

CComboBox CHomeSearchCtrl::m_wndText
 

Definition at line 40 of file CtrlHomeSearch.h.

Referenced by FillHistory(), OnCloseUpText(), OnCreate(), OnSearchCreate(), OnSize(), and PreTranslateMessage().


The documentation for this class was generated from the following files:
Generated on Thu Dec 15 10:40:07 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2