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

CSearchMonitorWnd Class Reference

#include <WndSearchMonitor.h>

Inheritance diagram for CSearchMonitorWnd:

CPanelWnd CChildWnd List of all members.

Public Member Functions

 CSearchMonitorWnd ()
virtual ~CSearchMonitorWnd ()
virtual void OnQuerySearch (CQuerySearch *pSearch)
virtual void OnSkinChange ()

Protected Member Functions

afx_msg int OnCreate (LPCREATESTRUCT lpCreateStruct)
afx_msg void OnSize (UINT nType, int cx, int cy)
afx_msg void OnDestroy ()
afx_msg void OnContextMenu (CWnd *pWnd, CPoint point)
afx_msg void OnUpdateSearchMonitorPause (CCmdUI *pCmdUI)
afx_msg void OnSearchMonitorPause ()
afx_msg void OnSearchMonitorClear ()
afx_msg void OnUpdateSearchMonitorSearch (CCmdUI *pCmdUI)
afx_msg void OnSearchMonitorSearch ()
afx_msg void OnDblClkList (NMHDR *pNotifyStruct, LRESULT *pResult)
afx_msg void OnTimer (UINT nIDEvent)

Protected Attributes

CListCtrl m_wndList
CImageList m_gdiImageList
CLiveListSizer m_pSizer
BOOL m_bPaused
CPtrList m_pQueue
CCriticalSection m_pSection

Constructor & Destructor Documentation

CSearchMonitorWnd::CSearchMonitorWnd  ) 
 

Definition at line 62 of file WndSearchMonitor.cpp.

References IDR_SEARCHMONITORFRAME.

CSearchMonitorWnd::~CSearchMonitorWnd  )  [virtual]
 

Definition at line 67 of file WndSearchMonitor.cpp.


Member Function Documentation

void CSearchMonitorWnd::OnContextMenu CWnd *  pWnd,
CPoint  point
[protected]
 

Definition at line 140 of file WndSearchMonitor.cpp.

References ID_HITMONITOR_SEARCH, and CChildWnd::TrackPopupMenu().

int CSearchMonitorWnd::OnCreate LPCREATESTRUCT  lpCreateStruct  )  [protected]
 

Reimplemented from CPanelWnd.

Definition at line 74 of file WndSearchMonitor.cpp.

References CLiveListSizer::Attach(), CreateMirroredIcon(), IDC_SEARCHES, IDR_SEARCHMONITORFRAME, CChildWnd::LoadState(), LVS_EX_LABELTIP, m_bPaused, CShareazaApp::m_bRTL, CShareazaApp::m_gdiFont, m_gdiImageList, m_pSizer, m_wndList, NULL, CPanelWnd::OnCreate(), and theApp.

void CSearchMonitorWnd::OnDblClkList NMHDR *  pNotifyStruct,
LRESULT *  pResult
[protected]
 

Definition at line 177 of file WndSearchMonitor.cpp.

References OnSearchMonitorSearch().

void CSearchMonitorWnd::OnDestroy  )  [protected]
 

Reimplemented from CChildWnd.

Definition at line 106 of file WndSearchMonitor.cpp.

References m_bPaused, m_pQueue, m_pSection, m_wndList, CChildWnd::OnDestroy(), CSettings::SaveList(), CChildWnd::SaveState(), and Settings.

void CSearchMonitorWnd::OnQuerySearch CQuerySearch pSearch  )  [virtual]
 

Reimplemented from CChildWnd.

Definition at line 186 of file WndSearchMonitor.cpp.

References CXMLElement::GetAttributeValue(), CXMLElement::GetRecursiveWords(), CED2K::HashToString(), CTigerNode::HashToString(), CSHA::HashToString(), CQuerySearch::m_bBTH, CQuerySearch::m_bED2K, m_bPaused, CQuerySearch::m_bSHA1, CQuerySearch::m_bTiger, CQuerySearch::m_pBTH, CQuerySearch::m_pED2K, m_pQueue, m_pSection, CQuerySearch::m_pSHA1, CQuerySearch::m_pTiger, CQuerySearch::m_pXML, CQuerySearch::m_sSearch, NULL, CXMLAttribute::schemaName, and CLiveItem::Set().

void CSearchMonitorWnd::OnSearchMonitorClear  )  [protected]
 

Definition at line 172 of file WndSearchMonitor.cpp.

References m_wndList.

void CSearchMonitorWnd::OnSearchMonitorPause  )  [protected]
 

Definition at line 167 of file WndSearchMonitor.cpp.

References m_bPaused.

void CSearchMonitorWnd::OnSearchMonitorSearch  )  [protected]
 

Definition at line 150 of file WndSearchMonitor.cpp.

References CQuerySearch::m_sSearch, m_wndList, NULL, and CQuerySearch::OpenWindow().

Referenced by OnDblClkList().

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

Reimplemented from CPanelWnd.

Definition at line 133 of file WndSearchMonitor.cpp.

References m_pSizer, m_wndList, NULL, CPanelWnd::OnSize(), and CLiveListSizer::Resize().

void CSearchMonitorWnd::OnSkinChange  )  [virtual]
 

Reimplemented from CChildWnd.

Definition at line 127 of file WndSearchMonitor.cpp.

References CSettings::LoadList(), m_wndList, CChildWnd::OnSkinChange(), and Settings.

void CSearchMonitorWnd::OnTimer UINT  nIDEvent  )  [protected]
 

Definition at line 242 of file WndSearchMonitor.cpp.

References CLiveItem::Add(), m_pQueue, m_pSection, m_wndList, CSettings::sSearch::MonitorQueue, CSettings::Search, and Settings.

void CSearchMonitorWnd::OnUpdateSearchMonitorPause CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 162 of file WndSearchMonitor.cpp.

References m_bPaused.

void CSearchMonitorWnd::OnUpdateSearchMonitorSearch CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 145 of file WndSearchMonitor.cpp.

References m_wndList.


Member Data Documentation

BOOL CSearchMonitorWnd::m_bPaused [protected]
 

Definition at line 44 of file WndSearchMonitor.h.

Referenced by OnCreate(), OnDestroy(), OnQuerySearch(), OnSearchMonitorPause(), and OnUpdateSearchMonitorPause().

CImageList CSearchMonitorWnd::m_gdiImageList [protected]
 

Definition at line 42 of file WndSearchMonitor.h.

Referenced by OnCreate().

CPtrList CSearchMonitorWnd::m_pQueue [protected]
 

Definition at line 46 of file WndSearchMonitor.h.

Referenced by OnDestroy(), OnQuerySearch(), and OnTimer().

CCriticalSection CSearchMonitorWnd::m_pSection [protected]
 

Definition at line 47 of file WndSearchMonitor.h.

Referenced by OnDestroy(), OnQuerySearch(), and OnTimer().

CLiveListSizer CSearchMonitorWnd::m_pSizer [protected]
 

Definition at line 43 of file WndSearchMonitor.h.

Referenced by OnCreate(), and OnSize().

CListCtrl CSearchMonitorWnd::m_wndList [protected]
 

Definition at line 41 of file WndSearchMonitor.h.

Referenced by OnCreate(), OnDestroy(), OnSearchMonitorClear(), OnSearchMonitorSearch(), OnSize(), OnSkinChange(), OnTimer(), and OnUpdateSearchMonitorSearch().


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