#include <WndSearch.h>
Inheritance diagram for CSearchWnd:
Public Member Functions | |
CSearchWnd (CQuerySearch *pSearch=NULL) | |
virtual | ~CSearchWnd () |
void | Serialize (CArchive &ar) |
CManagedSearch * | GetLastManager () |
CQuerySearch * | GetLastSearch () |
void | ExecuteSearch () |
virtual void | OnSkinChange () |
virtual BOOL | OnQueryHits (CQueryHit *pHits) |
virtual void | UpdateMessages (BOOL bActive=TRUE) |
virtual void | UpdateMessages (BOOL bActive, CManagedSearch *pManaged) |
Public Attributes | |
CPtrList | m_pSearches |
DWORD | m_tSearch |
DWORD | m_nCacheHits |
DWORD | m_nCacheHubs |
DWORD | m_nCacheLeaves |
CString | m_sCaption |
BOOL | m_bWaitMore |
DWORD | m_nMaxResults |
DWORD | m_nMaxED2KResults |
DWORD | m_nMaxQueryCount |
Protected Member Functions | |
BOOL | DoSizeDetails () |
afx_msg int | OnCreate (LPCREATESTRUCT lpCreateStruct) |
afx_msg void | OnDestroy () |
afx_msg void | OnContextMenu (CWnd *pWnd, CPoint point) |
afx_msg void | OnTimer (UINT nIDEvent) |
afx_msg void | OnSize (UINT nType, int cx, int cy) |
afx_msg void | OnPaint () |
afx_msg void | OnSelChangeMatches () |
afx_msg void | OnUpdateSearchSearch (CCmdUI *pCmdUI) |
afx_msg void | OnSearchSearch () |
afx_msg void | OnSearchClear () |
afx_msg void | OnUpdateSearchStop (CCmdUI *pCmdUI) |
afx_msg void | OnSearchStop () |
afx_msg void | OnUpdateSearchPanel (CCmdUI *pCmdUI) |
afx_msg void | OnSearchPanel () |
afx_msg void | OnUpdateSearchClear (CCmdUI *pCmdUI) |
afx_msg void | OnSysCommand (UINT nID, LPARAM lParam) |
afx_msg void | OnUpdateSearchDetails (CCmdUI *pCmdUI) |
afx_msg void | OnSearchDetails () |
afx_msg BOOL | OnSetCursor (CWnd *pWnd, UINT nHitTest, UINT message) |
afx_msg void | OnLButtonDown (UINT nFlags, CPoint point) |
afx_msg void | OnMDIActivate (BOOL bActivate, CWnd *pActivateWnd, CWnd *pDeactivateWnd) |
Protected Attributes | |
CSearchPanel | m_wndPanel |
BOOL | m_bPanel |
BOOL | m_bSetFocus |
CSearchDetailPanel | m_wndDetails |
BOOL | m_bDetails |
int | m_nDetails |
int | m_nLastSearchHelp |
Friends | |
class | CRemote |
|
Definition at line 90 of file WndSearch.cpp. References IDR_SEARCHFRAME, and NULL. |
|
Definition at line 100 of file WndSearch.cpp. References CBaseMatchWnd::m_pMatches, m_pSearches, and CMatchList::m_pSection. |
|
Definition at line 392 of file WndSearch.cpp. References CSettings::sSearch::DetailPanelSize, m_bPanel, CBaseMatchWnd::m_bPaused, m_bWaitMore, m_nDetails, NULL, OnSize(), PANEL_WIDTH, CSettings::Search, Settings, SIZE_INTERNAL, SPLIT_SIZE, STATUS_HEIGHT, and TOOLBAR_HEIGHT. Referenced by OnLButtonDown(). |
|
|
Definition at line 674 of file WndSearch.cpp. References CBaseMatchWnd::m_pMatches, m_pSearches, CMatchList::m_pSection, and NULL. Referenced by ExecuteSearch(), GetLastSearch(), Serialize(), and UpdateMessages(). |
|
Definition at line 680 of file WndSearch.cpp. References GetLastManager(), CManagedSearch::m_pSearch, and NULL. Referenced by OnCreate(), OnDestroy(), OnSearchSearch(), CWindowManager::OpenNewSearchWindow(), and CWindowManager::SaveSearchWindows(). |
|
Reimplemented from CBaseMatchWnd. Definition at line 251 of file WndSearch.cpp. References ID_SEARCH_DOWNLOAD, CBaseMatchWnd::m_bContextMenu, CBaseMatchWnd::OnContextMenu(), and CChildWnd::TrackPopupMenu(). |
|
|
Reimplemented from CBaseMatchWnd. Definition at line 173 of file WndSearch.cpp. References CSettings::sSearch::BlankSchemaURI, GetLastSearch(), CMatchCtrl::m_pSchema, CQuerySearch::m_pSchema, CSchema::m_sURI, CBaseMatchWnd::m_wndList, NULL, CBaseMatchWnd::OnDestroy(), CChildWnd::SaveState(), CSettings::Search, and Settings. |
|
Definition at line 371 of file WndSearch.cpp. References DoSizeDetails(), m_bPanel, m_nDetails, m_wndDetails, PANEL_WIDTH, SPLIT_SIZE, and TOOLBAR_HEIGHT. |
|
Reimplemented from CBaseMatchWnd. Definition at line 263 of file WndSearch.cpp. References CMatchList::m_nFiles, CBaseMatchWnd::m_pMatches, CBaseMatchWnd::m_wndList, m_wndPanel, CBaseMatchWnd::OnMDIActivate(), and CSearchPanel::SetSearchFocus(). |
|
Definition at line 278 of file WndSearch.cpp. References CCoolInterface::CalculateColour(), CoolInterface, CShellIcons::Draw(), IDS_SEARCH_ACTIVE, LoadString(), m_bPanel, CBaseMatchWnd::m_bPaused, m_bWaitMore, CSkin::m_crBannerBack, CSkin::m_crBannerText, CCoolInterface::m_fntNormal, m_nDetails, m_wndDetails, NULL, PANEL_WIDTH, ShellIcons, SHI_SEARCH, Skin, SPLIT_SIZE, STATUS_HEIGHT, and TOOLBAR_HEIGHT. |
|
|
Definition at line 580 of file WndSearch.cpp. References CMatchList::Clear(), CMatchCtrl::DestructiveUpdate(), CBaseMatchWnd::m_bUpdate, m_nMaxED2KResults, m_nMaxQueryCount, m_nMaxResults, CBaseMatchWnd::m_pMatches, CBaseMatchWnd::m_wndList, and OnSearchStop(). |
|
Definition at line 653 of file WndSearch.cpp. References CSettings::sSearch::DetailPanelVisible, m_bDetails, OnSkinChange(), CSettings::Search, and Settings. |
|
Definition at line 641 of file WndSearch.cpp. References m_bPanel, OnSkinChange(), CSettings::Search, CSettings::sSearch::SearchPanel, Settings, and UpdateMessages(). |
|
|
Definition at line 599 of file WndSearch.cpp. References CSearchPanel::Enable(), CBaseMatchWnd::m_bPaused, CManagedSearch::m_bReceive, CBaseMatchWnd::m_bUpdate, m_bWaitMore, CBaseMatchWnd::m_pMatches, m_pSearches, CMatchList::m_pSection, m_wndPanel, CShareazaApp::Message(), MSG_DEBUG, CManagedSearch::Stop(), theApp, and UpdateMessages(). Referenced by OnSearchClear(). |
|
Definition at line 950 of file WndSearch.cpp. References CMatchList::GetSelectedFile(), CBaseMatchWnd::m_pMatches, CMatchList::m_pSection, m_wndDetails, and CSearchDetailPanel::Update(). |
|
Reimplemented from CPanelWnd. Definition at line 337 of file WndSearch.cpp. References m_bPanel, CShareazaApp::m_bRTL, m_nDetails, m_wndDetails, CPanelWnd::OnSetCursor(), PANEL_WIDTH, SPLIT_SIZE, theApp, and TOOLBAR_HEIGHT. |
|
Reimplemented from CBaseMatchWnd. Definition at line 194 of file WndSearch.cpp. References m_bDetails, m_bPanel, CBaseMatchWnd::m_bPaused, m_bWaitMore, m_nDetails, m_wndDetails, CBaseMatchWnd::m_wndList, m_wndPanel, CBaseMatchWnd::m_wndToolBar, NULL, CPanelWnd::OnSize(), PANEL_WIDTH, SIZE_INTERNAL, SPLIT_SIZE, STATUS_HEIGHT, and TOOLBAR_HEIGHT. Referenced by DoSizeDetails(), OnSkinChange(), and UpdateMessages(). |
|
Reimplemented from CChildWnd. Definition at line 233 of file WndSearch.cpp. References CCoolBarCtrl::Clear(), CSkin::CreateToolBar(), m_bPanel, CMatchCtrl::m_wndHeader, CBaseMatchWnd::m_wndList, m_wndPanel, CBaseMatchWnd::m_wndToolBar, OnSize(), CSearchPanel::OnSkinChange(), CChildWnd::OnSkinChange(), SIZE_INTERNAL, Skin, CSkin::Translate(), and UpdateMessages(). Referenced by ExecuteSearch(), OnCreate(), OnSearchDetails(), and OnSearchPanel(). |
|
Reimplemented from CChildWnd. Definition at line 659 of file WndSearch.cpp. References ID_SEARCH_SEARCH, CChildWnd::m_bPanelMode, and CChildWnd::OnSysCommand(). |
|
|
Definition at line 575 of file WndSearch.cpp. References CMatchList::m_nFiles, and CBaseMatchWnd::m_pMatches. |
|
Definition at line 648 of file WndSearch.cpp. References m_bDetails. |
|
Definition at line 632 of file WndSearch.cpp. References CCoolBarCtrl::GetID(), ID_SEARCH_PANEL, IDS_SEARCH_PANEL_HIDE, IDS_SEARCH_PANEL_SHOW, LoadString(), m_bPanel, CBaseMatchWnd::m_wndToolBar, CCoolBarItem::SetCheck(), and CCoolBarItem::SetTip(). |
|
Definition at line 448 of file WndSearch.cpp. References CBaseMatchWnd::m_bPaused, and m_bWaitMore. |
|
Definition at line 594 of file WndSearch.cpp. References CBaseMatchWnd::m_bPaused. |
|
|
|
Reimplemented from CBaseMatchWnd. Definition at line 740 of file WndSearch.cpp. References GetLastManager(). Referenced by ExecuteSearch(), OnSearchPanel(), OnSearchSearch(), OnSearchStop(), OnSkinChange(), and OnTimer(). |
|
Definition at line 38 of file WndSearch.h. |
|
Definition at line 46 of file WndSearch.h. Referenced by OnCreate(), OnSearchDetails(), OnSize(), and OnUpdateSearchDetails(). |
|
Definition at line 43 of file WndSearch.h. Referenced by DoSizeDetails(), ExecuteSearch(), OnCreate(), OnLButtonDown(), OnPaint(), OnSearchPanel(), OnSetCursor(), OnSize(), OnSkinChange(), OnTimer(), OnUpdateSearchPanel(), and UpdateMessages(). |
|
Definition at line 44 of file WndSearch.h. Referenced by OnCreate(), and OnTimer(). |
|
Definition at line 56 of file WndSearch.h. Referenced by DoSizeDetails(), ExecuteSearch(), OnCreate(), OnPaint(), OnQueryHits(), OnSearchSearch(), OnSearchStop(), OnSize(), OnTimer(), OnUpdateSearchSearch(), and UpdateMessages(). |
|
Definition at line 52 of file WndSearch.h. |
|
Definition at line 53 of file WndSearch.h. Referenced by OnCreate(), OnTimer(), and UpdateMessages(). |
|
Definition at line 54 of file WndSearch.h. Referenced by OnCreate(), OnTimer(), and UpdateMessages(). |
|
Definition at line 47 of file WndSearch.h. Referenced by DoSizeDetails(), OnCreate(), OnLButtonDown(), OnPaint(), OnSetCursor(), and OnSize(). |
|
Definition at line 48 of file WndSearch.h. Referenced by ExecuteSearch(), OnCreate(), and OnSearchSearch(). |
|
Definition at line 58 of file WndSearch.h. Referenced by ExecuteSearch(), OnCreate(), OnQueryHits(), OnSearchClear(), and OnSearchSearch(). |
|
Definition at line 59 of file WndSearch.h. Referenced by ExecuteSearch(), OnCreate(), OnSearchClear(), OnSearchSearch(), and OnTimer(). |
|
Definition at line 57 of file WndSearch.h. Referenced by ExecuteSearch(), OnCreate(), OnQueryHits(), OnSearchClear(), and OnSearchSearch(). |
|
Definition at line 50 of file WndSearch.h. Referenced by GetLastManager(), OnQueryHits(), OnSearchSearch(), OnSearchStop(), OnTimer(), Serialize(), and ~CSearchWnd(). |
|
Definition at line 55 of file WndSearch.h. Referenced by UpdateMessages(). |
|
Definition at line 51 of file WndSearch.h. Referenced by ExecuteSearch(), and UpdateMessages(). |
|
Definition at line 45 of file WndSearch.h. Referenced by OnCreate(), OnLButtonDown(), OnPaint(), OnSelChangeMatches(), OnSetCursor(), OnSize(), and OnTimer(). |
|
Definition at line 42 of file WndSearch.h. Referenced by ExecuteSearch(), OnCreate(), OnMDIActivate(), OnSearchSearch(), OnSearchStop(), OnSize(), OnSkinChange(), OnTimer(), Serialize(), and UpdateMessages(). |