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

CSearchPadWnd Class Reference

#include <WndSearchPad.h>

Inheritance diagram for CSearchPadWnd:

CPanelWnd CChildWnd List of all members.

Public Member Functions

 CSearchPadWnd ()
virtual ~CSearchPadWnd ()
virtual void OnSkinChange ()
virtual BOOL PreTranslateMessage (MSG *pMsg)

Protected Member Functions

CQuerySearchGetSearch ()
void ClearSearch ()
afx_msg int OnCreate (LPCREATESTRUCT lpCreateStruct)
afx_msg void OnDestroy ()
afx_msg void OnSize (UINT nType, int cx, int cy)
afx_msg void OnPaint ()
afx_msg void OnSelChangeSchemas ()
afx_msg void OnSearchCreate ()
afx_msg void OnMDIActivate (BOOL bActivate, CWnd *pActivateWnd, CWnd *pDeactivateWnd)

Protected Attributes

CEdit m_wndText
CSchemaCombo m_wndSchema
CSchemaCtrl m_wndData
CIconButtonCtrl m_wndSearch
CFont m_pFont

Constructor & Destructor Documentation

CSearchPadWnd::CSearchPadWnd  ) 
 

Definition at line 59 of file WndSearchPad.cpp.

References IDR_SEARCHPADFRAME.

CSearchPadWnd::~CSearchPadWnd  )  [virtual]
 

Definition at line 64 of file WndSearchPad.cpp.


Member Function Documentation

void CSearchPadWnd::ClearSearch  )  [protected]
 

Definition at line 261 of file WndSearchPad.cpp.

References CSchemaCombo::GetSelected(), m_wndData, m_wndSchema, m_wndText, and CSchemaCtrl::SetSchema().

Referenced by OnSearchCreate().

CQuerySearch * CSearchPadWnd::GetSearch  )  [protected]
 

Definition at line 229 of file WndSearchPad.cpp.

References CXMLElement::AddElement(), CQuerySearch::CheckValid(), CSchemaCombo::GetSelected(), CSettings::sSearch::LastSchemaURI, CQuerySearch::m_pSchema, CQuerySearch::m_pXML, CQuerySearch::m_sSearch, m_wndData, m_wndSchema, m_wndText, NULL, CSettings::Search, Settings, and CSchemaCtrl::UpdateData().

Referenced by OnSearchCreate().

int CSearchPadWnd::OnCreate LPCREATESTRUCT  lpCreateStruct  )  [protected]
 

Reimplemented from CPanelWnd.

Definition at line 71 of file WndSearchPad.cpp.

References CoolInterface, CIconButtonCtrl::Create(), CSchemaCtrl::Create(), CSchemaCombo::Create(), CCoolInterface::ExtractIcon(), ID_SEARCH_SEARCH, IDC_SEARCH_CREATE, IDC_SEARCH_DATA, IDC_SEARCH_SCHEMAS, IDC_SEARCH_TEXT, IDS_SEARCH_PANEL_AFT, IDS_SEARCH_PANEL_START, CSettings::sSearch::LastSchemaURI, CSchemaCombo::Load(), CChildWnd::LoadState(), LoadString(), CShareazaApp::m_gdiFont, CShareazaApp::m_nDefaultFontSize, m_pFont, CShareazaApp::m_sDefaultFont, CSchemaCombo::m_sNoSchemaText, m_wndData, m_wndSchema, m_wndSearch, m_wndText, CPanelWnd::OnCreate(), OnSelChangeSchemas(), CSettings::Search, CIconButtonCtrl::SetHandCursor(), CIconButtonCtrl::SetIcon(), Settings, and theApp.

void CSearchPadWnd::OnDestroy  )  [protected]
 

Reimplemented from CChildWnd.

Definition at line 111 of file WndSearchPad.cpp.

References CChildWnd::OnDestroy(), and CChildWnd::SaveState().

void CSearchPadWnd::OnMDIActivate BOOL  bActivate,
CWnd *  pActivateWnd,
CWnd *  pDeactivateWnd
[protected]
 

Reimplemented from CChildWnd.

Definition at line 293 of file WndSearchPad.cpp.

References m_wndText, and CChildWnd::OnMDIActivate().

void CSearchPadWnd::OnPaint  )  [protected]
 

Definition at line 163 of file WndSearchPad.cpp.

References CoolInterface, IDS_SEARCH_PAD_HEADER, IDS_SEARCH_PAD_TYPE, IDS_SEARCH_PAD_WORDS, LoadString(), CSkin::m_crPanelBack, CCoolInterface::m_crWindow, CCoolInterface::m_fntBold, m_pFont, NULL, and Skin.

void CSearchPadWnd::OnSearchCreate  )  [protected]
 

Definition at line 279 of file WndSearchPad.cpp.

References ClearSearch(), CNetwork::Connect(), GetSearch(), CNetwork::IsWellConnected(), Network, and NULL.

void CSearchPadWnd::OnSelChangeSchemas  )  [protected]
 

Definition at line 272 of file WndSearchPad.cpp.

References CSchemaCombo::GetSelected(), m_wndData, m_wndSchema, NULL, and CSchemaCtrl::SetSchema().

Referenced by OnCreate().

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

Reimplemented from CPanelWnd.

Definition at line 130 of file WndSearchPad.cpp.

References m_wndData, m_wndSchema, m_wndSearch, m_wndText, and CPanelWnd::OnSize().

void CSearchPadWnd::OnSkinChange  )  [virtual]
 

Reimplemented from CChildWnd.

Definition at line 117 of file WndSearchPad.cpp.

References IDS_SEARCH_PANEL_AFT, IDS_SEARCH_PANEL_START, LoadString(), CSchemaCombo::m_sNoSchemaText, m_wndSchema, m_wndSearch, and CChildWnd::OnSkinChange().

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

Definition at line 299 of file WndSearchPad.cpp.

References IDC_SEARCH_CREATE, m_wndData, and CSchemaCtrl::OnTab().


Member Data Documentation

CFont CSearchPadWnd::m_pFont [protected]
 

Definition at line 50 of file WndSearchPad.h.

Referenced by OnCreate(), and OnPaint().

CSchemaCtrl CSearchPadWnd::m_wndData [protected]
 

Definition at line 48 of file WndSearchPad.h.

Referenced by ClearSearch(), GetSearch(), OnCreate(), OnSelChangeSchemas(), OnSize(), and PreTranslateMessage().

CSchemaCombo CSearchPadWnd::m_wndSchema [protected]
 

Definition at line 47 of file WndSearchPad.h.

Referenced by ClearSearch(), GetSearch(), OnCreate(), OnSelChangeSchemas(), OnSize(), and OnSkinChange().

CIconButtonCtrl CSearchPadWnd::m_wndSearch [protected]
 

Definition at line 49 of file WndSearchPad.h.

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

CEdit CSearchPadWnd::m_wndText [protected]
 

Definition at line 46 of file WndSearchPad.h.

Referenced by ClearSearch(), GetSearch(), OnCreate(), OnMDIActivate(), and OnSize().


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