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

CMatchCtrl Class Reference

#include <CtrlMatch.h>

List of all members.

Public Member Functions

 CMatchCtrl ()
virtual ~CMatchCtrl ()
void Update ()
void DestructiveUpdate ()
void SelectSchema (CSchema *pSchema, CPtrList *pColumns)
void SetBrowseMode ()
BOOL HitTestHeader (const CPoint &point)
void SetSortColumn (int nColumn=-1, BOOL bDirection=FALSE)
void SetMessage (UINT nMessageID, BOOL bLink=FALSE)
void SetMessage (LPCTSTR pszMessage, BOOL bLink=FALSE)
void EnableTips (BOOL bTips)
virtual BOOL Create (CMatchList *pMatches, CWnd *pParentWnd)
afx_msg int OnCreate (LPCREATESTRUCT lpCreateStruct)
afx_msg void OnDestroy ()
afx_msg void OnSize (UINT nType, int cx, int cy)
afx_msg BOOL OnEraseBkgnd (CDC *pDC)
afx_msg void OnPaint ()
afx_msg void OnVScroll (UINT nSBCode, UINT nPos, CScrollBar *pScrollBar)
afx_msg void OnLButtonDown (UINT nFlags, CPoint point)
afx_msg void OnMouseMove (UINT nFlags, CPoint point)
afx_msg void OnLButtonUp (UINT nFlags, CPoint point)
afx_msg void OnLButtonDblClk (UINT nFlags, CPoint point)
afx_msg void OnKeyDown (UINT nChar, UINT nRepCnt, UINT nFlags)
afx_msg void OnRButtonDown (UINT nFlags, CPoint point)
afx_msg void OnRButtonUp (UINT nFlags, CPoint point)
afx_msg BOOL OnSetCursor (CWnd *pWnd, UINT nHitTest, UINT message)
afx_msg BOOL OnMouseWheel (UINT nFlags, short zDelta, CPoint pt)
afx_msg void OnHScroll (UINT nSBCode, UINT nPos, CScrollBar *pScrollBar)
afx_msg void OnTimer (UINT nIDEvent)
afx_msg void OnChangeHeader (NMHDR *pNotifyStruct, LRESULT *pResult)
afx_msg void OnClickHeader (NMHDR *pNotifyStruct, LRESULT *pResult)
afx_msg void OnSetFocus (CWnd *pOldWnd)
afx_msg void OnKillFocus (CWnd *pNewWnd)

Public Attributes

CMatchListm_pMatches
LPCTSTR m_sType
CSchemam_pSchema
CPtrList m_pColumns

Protected Member Functions

void InsertColumn (int nColumn, LPCTSTR pszCaption, int nFormat, int nWidth)
void SaveColumnState ()
BOOL LoadColumnState ()
void UpdateScroll (DWORD nScroll=0xFFFFFFFF)
void ScrollBy (int nDelta)
void ScrollTo (DWORD nIndex)
void DrawItem (CDC &dc, CRect &rc, CMatchFile *pFile, CQueryHit *pHit, BOOL bFocus)
void DrawStatus (CDC &dc, CRect &rcCol, CMatchFile *pFile, CQueryHit *pHit, BOOL bSelected, COLORREF crBack)
void DrawRating (CDC &dc, CRect &rcCol, int nRating, BOOL bSelected, COLORREF crBack)
void DrawEmptyMessage (CDC &dc, CRect &rcClient)
BOOL HitTest (const CPoint &point, CMatchFile **poFile, CQueryHit **poHit, DWORD *pnIndex=NULL, CRect *pRect=NULL)
BOOL GetItemRect (CMatchFile *pFindFile, CQueryHit *pFindHit, CRect *pRect)
BOOL PixelTest (const CPoint &point)
void MoveFocus (int nDelta, BOOL bShift)
void NotifySelection ()
void DoDelete ()
void DoExpand (BOOL bExpand)

Protected Attributes

CHeaderCtrl m_wndHeader
CMatchTipCtrl m_wndTip
CImageList m_pStars
DWORD m_nTopIndex
DWORD m_nHitIndex
DWORD m_nBottomIndex
DWORD m_nFocus
int m_nPageCount
int m_nCurrentWidth
DWORD m_nCacheItems
int m_nTrailWidth
UINT m_nMessage
CString m_sMessage
BOOL m_bSearchLink
CBitmap m_bmSortAsc
CBitmap m_bmSortDesc
BOOL m_bTips
int m_nScrollWheelLines

Friends

class CHitMonitorWnd
class CSearchWnd
class CBrowseFrameCtrl


Constructor & Destructor Documentation

CMatchCtrl::CMatchCtrl  ) 
 

Definition at line 76 of file CtrlMatch.cpp.

References NULL.

CMatchCtrl::~CMatchCtrl  )  [virtual]
 

Definition at line 99 of file CtrlMatch.cpp.


Member Function Documentation

BOOL CMatchCtrl::Create CMatchList pMatches,
CWnd *  pParentWnd
[virtual]
 

Definition at line 106 of file CtrlMatch.cpp.

References IDC_MATCHES, m_pMatches, and NULL.

Referenced by CBaseMatchWnd::OnCreate().

void CMatchCtrl::DestructiveUpdate  ) 
 

Definition at line 192 of file CtrlMatch.cpp.

References CMatchTipCtrl::Hide(), and m_wndTip.

Referenced by CBrowseHostWnd::OnBrowseHostRefresh(), CHitMonitorWnd::OnHitMonitorClear(), and CSearchWnd::OnSearchClear().

void CMatchCtrl::DoDelete  )  [protected]
 

Definition at line 1680 of file CtrlMatch.cpp.

References CMatchList::Filter(), CMatchTipCtrl::Hide(), CQueryHit::m_bBogus, m_pMatches, CMatchList::m_pSection, CMatchList::m_pSelectedFiles, CMatchList::m_pSelectedHits, m_wndTip, NotifySelection(), NULL, CMatchList::Select(), and Update().

Referenced by OnKeyDown().

void CMatchCtrl::DoExpand BOOL  bExpand  )  [protected]
 

Definition at line 1710 of file CtrlMatch.cpp.

References CMatchFile::Expand(), CMatchTipCtrl::Hide(), m_pMatches, CMatchList::m_pSection, CMatchList::m_pSelectedFiles, m_wndTip, NotifySelection(), and Update().

Referenced by OnKeyDown().

void CMatchCtrl::DrawEmptyMessage CDC &  dc,
CRect &  rcClient
[protected]
 

Definition at line 1155 of file CtrlMatch.cpp.

References CoolInterface, IDS_SEARCH_AGAIN, CSkin::LoadString(), m_bSearchLink, CCoolInterface::m_crText, CCoolInterface::m_crWindow, CShareazaApp::m_gdiFont, CShareazaApp::m_gdiFontLine, m_sMessage, NULL, Skin, and theApp.

Referenced by OnPaint().

void CMatchCtrl::DrawItem CDC &  dc,
CRect &  rc,
CMatchFile pFile,
CQueryHit pHit,
BOOL  bFocus
[protected]
 

Definition at line 673 of file CtrlMatch.cpp.

References CCoolInterface::CalculateColour(), CoolInterface, DrawRating(), DrawStatus(), CMatchFile::GetFilteredCount(), CShellIcons::GetHandle(), CSettings::sSearch::HighlightNew, CNetwork::IsStable(), ITEM_HEIGHT, LoadSourcesString(), CQueryHit::m_bBogus, CQueryHit::m_bBrowseHost, CMatchFile::m_bCollection, CQueryHit::m_bDownload, CMatchFile::m_bDownload, CMatchFile::m_bDRM, CMatchFile::m_bExisting, CMatchFile::m_bExpanded, CQueryHit::m_bMatched, CQueryHit::m_bMeasured, CMatchFile::m_bNew, CQueryHit::m_bNew, CMatchFile::m_bOneValid, CQueryHit::m_bPush, CMatchFile::m_bSelected, CQueryHit::m_bSelected, CCoolInterface::m_crBackSel, CCoolInterface::m_crBorder, CCoolInterface::m_crHighlight, CCoolInterface::m_crText, CCoolInterface::m_crWindow, CShareazaApp::m_gdiFont, CShareazaApp::m_gdiFontBold, CQueryHit::m_nPartial, CQueryHit::m_nProtocol, CMatchFile::m_nRated, CMatchFile::m_nRating, CQueryHit::m_nRating, CMatchFile::m_nShellIndex, CMatchFile::m_nSources, CQueryHit::m_nSources, m_nTrailWidth, CQueryHit::m_pAddress, CMatchFile::m_pBest, CQueryHit::m_pClientID, CMatchFile::m_pColumns, CQueryHit::m_pVendor, CVendor::m_sName, CQueryHit::m_sName, CQueryHit::m_sNick, CMatchFile::m_sSize, CMatchFile::m_sSpeed, CQueryHit::m_sURL, m_wndHeader, MATCH_COL_CLIENT, MATCH_COL_COUNT, MATCH_COL_MAX, MATCH_COL_NAME, MATCH_COL_RATING, MATCH_COL_SIZE, MATCH_COL_SPEED, MATCH_COL_STATUS, MATCH_COL_TYPE, Network, NULL, PROTOCOL_ED2K, CSettings::Search, Settings, ShellIcons, SHI_MINUS, SHI_O_COMMERCIAL, SHI_O_PARTIAL, SHI_PLUS, CSettings::sSearch::ShowNames, theApp, TS_TRUE, and GGUID::w.

Referenced by OnPaint().

void CMatchCtrl::DrawRating CDC &  dc,
CRect &  rcCol,
int  nRating,
BOOL  bSelected,
COLORREF  crBack
[protected]
 

Definition at line 1120 of file CtrlMatch.cpp.

References m_pStars.

Referenced by DrawItem().

void CMatchCtrl::DrawStatus CDC &  dc,
CRect &  rcCol,
CMatchFile pFile,
CQueryHit pHit,
BOOL  bSelected,
COLORREF  crBack
[protected]
 

Definition at line 1018 of file CtrlMatch.cpp.

References CShellIcons::GetHandle(), CQueryHit::m_bBrowseHost, CMatchFile::m_bBusy, CQueryHit::m_bBusy, CQueryHit::m_bChat, CMatchFile::m_bPreview, CQueryHit::m_bPreview, CMatchFile::m_bPush, CQueryHit::m_bPush, CMatchFile::m_bStable, CQueryHit::m_bStable, ShellIcons, SHI_BROWSE, SHI_BUSY, SHI_CHAT, SHI_FIREWALL, SHI_PREVIEW, SHI_TICK, SHI_UNSTABLE, and TS_TRUE.

Referenced by DrawItem().

void CMatchCtrl::EnableTips BOOL  bTips  ) 
 

Definition at line 303 of file CtrlMatch.cpp.

References m_bTips.

Referenced by CBaseMatchWnd::OnMDIActivate().

BOOL CMatchCtrl::GetItemRect CMatchFile pFindFile,
CQueryHit pFindHit,
CRect *  pRect
[protected]
 

Definition at line 1267 of file CtrlMatch.cpp.

References CMatchFile::GetFilteredCount(), HEADER_HEIGHT, ITEM_HEIGHT, CMatchFile::m_bExpanded, CMatchList::m_nFiles, m_nHitIndex, m_nTopIndex, CMatchList::m_pFiles, CMatchFile::m_pHits, m_pMatches, CQueryHit::m_pNext, and CMatchList::m_pSection.

Referenced by MoveFocus().

BOOL CMatchCtrl::HitTest const CPoint &  point,
CMatchFile **  poFile,
CQueryHit **  poHit,
DWORD *  pnIndex = NULL,
CRect *  pRect = NULL
[protected]
 

Definition at line 1201 of file CtrlMatch.cpp.

References CMatchFile::GetFilteredCount(), HEADER_HEIGHT, ITEM_HEIGHT, CMatchFile::m_bExpanded, m_nHitIndex, m_nTopIndex, CMatchList::m_pFiles, CMatchFile::m_pHits, m_pMatches, CQueryHit::m_pNext, CMatchList::m_pSection, and NULL.

Referenced by OnLButtonDblClk(), OnLButtonDown(), and OnMouseMove().

BOOL CMatchCtrl::HitTestHeader const CPoint &  point  ) 
 

Definition at line 237 of file CtrlMatch.cpp.

References m_wndHeader.

Referenced by CBaseMatchWnd::OnContextMenu().

void CMatchCtrl::InsertColumn int  nColumn,
LPCTSTR  pszCaption,
int  nFormat,
int  nWidth
[protected]
 

Definition at line 311 of file CtrlMatch.cpp.

References m_wndHeader.

Referenced by OnCreate(), and SelectSchema().

BOOL CMatchCtrl::LoadColumnState  )  [protected]
 

Definition at line 354 of file CtrlMatch.cpp.

References m_pSchema, CSchema::m_sSingular, m_sType, m_wndHeader, MATCH_COL_COUNT, SetSortColumn(), and theApp.

Referenced by OnCreate(), SelectSchema(), and SetBrowseMode().

void CMatchCtrl::MoveFocus int  nDelta,
BOOL  bShift
[protected]
 

Definition at line 1608 of file CtrlMatch.cpp.

References CMatchList::ClearSelection(), CMatchFile::GetItemCount(), GetItemRect(), HEADER_HEIGHT, ITEM_HEIGHT, CMatchList::m_nFiles, m_nFocus, CMatchList::m_pFiles, m_pMatches, CMatchList::m_pSection, NotifySelection(), NULL, ScrollBy(), CMatchList::Select(), and Update().

Referenced by OnKeyDown().

void CMatchCtrl::NotifySelection  )  [protected]
 

Definition at line 1727 of file CtrlMatch.cpp.

Referenced by DoDelete(), DoExpand(), MoveFocus(), OnKeyDown(), and OnLButtonDown().

void CMatchCtrl::OnChangeHeader NMHDR *  pNotifyStruct,
LRESULT *  pResult
 

Definition at line 1756 of file CtrlMatch.cpp.

void CMatchCtrl::OnClickHeader NMHDR *  pNotifyStruct,
LRESULT *  pResult
 

Definition at line 1735 of file CtrlMatch.cpp.

References CMatchList::m_bSortDir, CMatchList::m_nSortColumn, m_pMatches, and SetSortColumn().

int CMatchCtrl::OnCreate LPCREATESTRUCT  lpCreateStruct  ) 
 

Definition at line 114 of file CtrlMatch.cpp.

References CMatchTipCtrl::Create(), IDB_SMALL_STAR, IDC_MATCH_HEADER, InsertColumn(), LoadColumnState(), CShareazaApp::m_gdiFont, m_pStars, m_wndHeader, m_wndTip, MATCH_COL_CLIENT, MATCH_COL_COUNT, MATCH_COL_NAME, MATCH_COL_RATING, MATCH_COL_SIZE, MATCH_COL_SPEED, MATCH_COL_STATUS, MATCH_COL_TYPE, theApp, and UpdateScroll().

void CMatchCtrl::OnDestroy  ) 
 

Definition at line 150 of file CtrlMatch.cpp.

References m_wndTip, and SaveColumnState().

BOOL CMatchCtrl::OnEraseBkgnd CDC *  pDC  ) 
 

Definition at line 577 of file CtrlMatch.cpp.

void CMatchCtrl::OnHScroll UINT  nSBCode,
UINT  nPos,
CScrollBar *  pScrollBar
 

Definition at line 470 of file CtrlMatch.cpp.

References HEADER_HEIGHT, m_nCurrentWidth, m_wndHeader, and NULL.

void CMatchCtrl::OnKeyDown UINT  nChar,
UINT  nRepCnt,
UINT  nFlags
 

Definition at line 1550 of file CtrlMatch.cpp.

References CMatchList::ClearSelection(), DoDelete(), DoExpand(), CMatchTipCtrl::Hide(), ID_SEARCH_DOWNLOAD, CMatchList::m_nItems, m_nPageCount, m_pMatches, m_wndTip, MoveFocus(), NotifySelection(), and Update().

void CMatchCtrl::OnKillFocus CWnd *  pNewWnd  ) 
 

Definition at line 1772 of file CtrlMatch.cpp.

void CMatchCtrl::OnLButtonDblClk UINT  nFlags,
CPoint  point
 

Definition at line 1486 of file CtrlMatch.cpp.

References HitTest(), ID_SEARCH_DOWNLOAD, NULL, and OnLButtonDown().

void CMatchCtrl::OnLButtonDown UINT  nFlags,
CPoint  point
 

Definition at line 1347 of file CtrlMatch.cpp.

References CMatchList::ClearSelection(), CMatchFile::Expand(), CMatchFile::GetFilteredCount(), CMatchTipCtrl::Hide(), HitTest(), CMatchFile::m_bExpanded, CMatchFile::m_bSelected, CQueryHit::m_bSelected, m_nFocus, m_pMatches, CMatchList::m_pSection, m_wndHeader, m_wndTip, NotifySelection(), NULL, CMatchList::Select(), and Update().

Referenced by OnLButtonDblClk(), and OnRButtonDown().

void CMatchCtrl::OnLButtonUp UINT  nFlags,
CPoint  point
 

Definition at line 1462 of file CtrlMatch.cpp.

References HEADER_HEIGHT, ID_SEARCH_SEARCH, m_bSearchLink, CMatchList::m_nFilteredFiles, and m_pMatches.

Referenced by OnRButtonUp().

void CMatchCtrl::OnMouseMove UINT  nFlags,
CPoint  point
 

Definition at line 1411 of file CtrlMatch.cpp.

References HEADER_HEIGHT, CMatchTipCtrl::Hide(), HitTest(), m_bTips, m_pMatches, CMatchList::m_pSection, m_wndTip, PixelTest(), and CMatchTipCtrl::Show().

BOOL CMatchCtrl::OnMouseWheel UINT  nFlags,
short  zDelta,
CPoint  pt
 

Definition at line 517 of file CtrlMatch.cpp.

References m_nScrollWheelLines, and ScrollBy().

void CMatchCtrl::OnPaint  ) 
 

Definition at line 582 of file CtrlMatch.cpp.

References CoolInterface, DrawEmptyMessage(), DrawItem(), CMatchFile::GetFilteredCount(), HEADER_HEIGHT, ITEM_HEIGHT, CMatchFile::m_bExpanded, CShareazaApp::m_bRTL, CCoolInterface::m_crWindow, CCoolInterface::m_fntNormal, m_nBottomIndex, CMatchList::m_nFilteredFiles, m_nFocus, m_nHitIndex, m_nTopIndex, m_nTrailWidth, CMatchList::m_pFiles, CMatchFile::m_pHits, m_pMatches, CQueryHit::m_pNext, CMatchList::m_pSection, m_sMessage, NULL, and theApp.

void CMatchCtrl::OnRButtonDown UINT  nFlags,
CPoint  point
 

Definition at line 1507 of file CtrlMatch.cpp.

References OnLButtonDown().

void CMatchCtrl::OnRButtonUp UINT  nFlags,
CPoint  point
 

Definition at line 1513 of file CtrlMatch.cpp.

References OnLButtonUp().

BOOL CMatchCtrl::OnSetCursor CWnd *  pWnd,
UINT  nHitTest,
UINT  message
 

Definition at line 1519 of file CtrlMatch.cpp.

References HEADER_HEIGHT, IDC_HAND, m_bSearchLink, CMatchList::m_nFilteredFiles, m_pMatches, and theApp.

void CMatchCtrl::OnSetFocus CWnd *  pOldWnd  ) 
 

Definition at line 1766 of file CtrlMatch.cpp.

void CMatchCtrl::OnSize UINT  nType,
int  cx,
int  cy
 

Definition at line 158 of file CtrlMatch.cpp.

References HEADER_HEIGHT, ITEM_HEIGHT, m_nBottomIndex, m_nCurrentWidth, m_nPageCount, and UpdateScroll().

void CMatchCtrl::OnTimer UINT  nIDEvent  ) 
 

Definition at line 1761 of file CtrlMatch.cpp.

void CMatchCtrl::OnVScroll UINT  nSBCode,
UINT  nPos,
CScrollBar *  pScrollBar
 

Definition at line 441 of file CtrlMatch.cpp.

References m_nPageCount, ScrollBy(), and ScrollTo().

BOOL CMatchCtrl::PixelTest const CPoint &  point  )  [protected]
 

Definition at line 1436 of file CtrlMatch.cpp.

References CoolInterface, and CCoolInterface::m_crWindow.

Referenced by OnMouseMove().

void CMatchCtrl::SaveColumnState  )  [protected]
 

Definition at line 323 of file CtrlMatch.cpp.

References CMatchList::m_bSortDir, CMatchList::m_nSortColumn, m_pMatches, m_pSchema, CSchema::m_sSingular, m_sType, m_wndHeader, and theApp.

Referenced by OnDestroy(), SelectSchema(), and SetBrowseMode().

void CMatchCtrl::ScrollBy int  nDelta  )  [protected]
 

Definition at line 524 of file CtrlMatch.cpp.

References ScrollTo().

Referenced by MoveFocus(), OnMouseWheel(), and OnVScroll().

void CMatchCtrl::ScrollTo DWORD  nIndex  )  [protected]
 

Definition at line 531 of file CtrlMatch.cpp.

References HEADER_HEIGHT, m_nBottomIndex, m_nHitIndex, CMatchList::m_nItems, m_nPageCount, m_nTopIndex, CMatchList::m_pFiles, m_pMatches, NULL, and UpdateScroll().

Referenced by OnVScroll(), ScrollBy(), and Update().

void CMatchCtrl::SelectSchema CSchema pSchema,
CPtrList *  pColumns
 

Definition at line 197 of file CtrlMatch.cpp.

References InsertColumn(), LoadColumnState(), CSchemaMember::m_nColumnAlign, CSchemaMember::m_nColumnWidth, m_pColumns, m_pMatches, m_pSchema, CSchemaMember::m_sTitle, m_wndHeader, MATCH_COL_MAX, SaveColumnState(), CMatchList::SelectSchema(), and Update().

Referenced by CBaseMatchWnd::OnContextMenu(), CSearchWnd::OnCreate(), CHitMonitorWnd::OnCreate(), CBrowseHostWnd::OnCreate(), CBaseMatchWnd::OnSearchColumns(), CSearchWnd::OnSearchSearch(), CBrowseFrameCtrl::OnTreeSelection(), and CSearchWnd::Serialize().

void CMatchCtrl::SetBrowseMode  ) 
 

Definition at line 225 of file CtrlMatch.cpp.

References LoadColumnState(), m_sType, m_wndHeader, MATCH_COL_CLIENT, MATCH_COL_COUNT, MATCH_COL_SPEED, MATCH_COL_STATUS, and SaveColumnState().

Referenced by CBrowseFrameCtrl::Create().

void CMatchCtrl::SetMessage LPCTSTR  pszMessage,
BOOL  bLink = FALSE
 

Definition at line 292 of file CtrlMatch.cpp.

References m_bSearchLink, m_nCacheItems, m_nMessage, and m_sMessage.

void CMatchCtrl::SetMessage UINT  nMessageID,
BOOL  bLink = FALSE
 

Definition at line 277 of file CtrlMatch.cpp.

References CSkin::LoadString(), m_bSearchLink, m_nCacheItems, m_nMessage, m_sMessage, and Skin.

Referenced by CSearchWnd::UpdateMessages(), and CBrowseHostWnd::UpdateMessages().

void CMatchCtrl::SetSortColumn int  nColumn = -1,
BOOL  bDirection = FALSE
 

Definition at line 244 of file CtrlMatch.cpp.

References IDB_SORT_ASC, IDB_SORT_DESC, m_bmSortAsc, m_bmSortDesc, m_pMatches, CMatchList::m_pSection, m_wndHeader, NULL, CMatchList::SetSortColumn(), and Update().

Referenced by LoadColumnState(), and OnClickHeader().

void CMatchCtrl::Update  ) 
 

Definition at line 174 of file CtrlMatch.cpp.

References CMatchList::ClearUpdated(), CMatchList::m_bUpdated, m_nBottomIndex, m_nCacheItems, CMatchList::m_nItems, m_nTopIndex, CMatchList::m_nUpdateMax, CMatchList::m_nUpdateMin, m_pMatches, CMatchList::m_pSection, and ScrollTo().

Referenced by DoDelete(), DoExpand(), MoveFocus(), OnKeyDown(), OnLButtonDown(), CBaseMatchWnd::OnTimer(), CBrowseFrameCtrl::OnTreeSelection(), SelectSchema(), and SetSortColumn().

void CMatchCtrl::UpdateScroll DWORD  nScroll = 0xFFFFFFFF  )  [protected]
 

Definition at line 398 of file CtrlMatch.cpp.

References HEADER_HEIGHT, m_nCurrentWidth, CMatchList::m_nItems, m_nPageCount, m_pMatches, m_wndHeader, and NULL.

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


Friends And Related Function Documentation

friend class CBrowseFrameCtrl [friend]
 

Definition at line 44 of file CtrlMatch.h.

friend class CHitMonitorWnd [friend]
 

Definition at line 42 of file CtrlMatch.h.

friend class CSearchWnd [friend]
 

Definition at line 43 of file CtrlMatch.h.


Member Data Documentation

CBitmap CMatchCtrl::m_bmSortAsc [protected]
 

Definition at line 68 of file CtrlMatch.h.

Referenced by SetSortColumn().

CBitmap CMatchCtrl::m_bmSortDesc [protected]
 

Definition at line 69 of file CtrlMatch.h.

Referenced by SetSortColumn().

BOOL CMatchCtrl::m_bSearchLink [protected]
 

Definition at line 67 of file CtrlMatch.h.

Referenced by DrawEmptyMessage(), OnLButtonUp(), OnSetCursor(), and SetMessage().

BOOL CMatchCtrl::m_bTips [protected]
 

Definition at line 70 of file CtrlMatch.h.

Referenced by EnableTips(), and OnMouseMove().

DWORD CMatchCtrl::m_nBottomIndex [protected]
 

Definition at line 59 of file CtrlMatch.h.

Referenced by OnPaint(), OnSize(), ScrollTo(), and Update().

DWORD CMatchCtrl::m_nCacheItems [protected]
 

Definition at line 63 of file CtrlMatch.h.

Referenced by SetMessage(), and Update().

int CMatchCtrl::m_nCurrentWidth [protected]
 

Definition at line 62 of file CtrlMatch.h.

Referenced by OnHScroll(), OnSize(), and UpdateScroll().

DWORD CMatchCtrl::m_nFocus [protected]
 

Definition at line 60 of file CtrlMatch.h.

Referenced by MoveFocus(), OnLButtonDown(), and OnPaint().

DWORD CMatchCtrl::m_nHitIndex [protected]
 

Definition at line 58 of file CtrlMatch.h.

Referenced by GetItemRect(), HitTest(), OnPaint(), and ScrollTo().

UINT CMatchCtrl::m_nMessage [protected]
 

Definition at line 65 of file CtrlMatch.h.

Referenced by SetMessage().

int CMatchCtrl::m_nPageCount [protected]
 

Definition at line 61 of file CtrlMatch.h.

Referenced by OnKeyDown(), OnSize(), OnVScroll(), ScrollTo(), and UpdateScroll().

int CMatchCtrl::m_nScrollWheelLines [protected]
 

Definition at line 71 of file CtrlMatch.h.

Referenced by OnMouseWheel().

DWORD CMatchCtrl::m_nTopIndex [protected]
 

Definition at line 57 of file CtrlMatch.h.

Referenced by GetItemRect(), HitTest(), OnPaint(), ScrollTo(), and Update().

int CMatchCtrl::m_nTrailWidth [protected]
 

Definition at line 64 of file CtrlMatch.h.

Referenced by DrawItem(), and OnPaint().

CPtrList CMatchCtrl::m_pColumns
 

Definition at line 51 of file CtrlMatch.h.

Referenced by CBaseMatchWnd::OnContextMenu(), CBaseMatchWnd::OnSearchColumns(), and SelectSchema().

CMatchList* CMatchCtrl::m_pMatches
 

Definition at line 48 of file CtrlMatch.h.

Referenced by Create(), DoDelete(), DoExpand(), GetItemRect(), HitTest(), MoveFocus(), OnClickHeader(), OnKeyDown(), OnLButtonDown(), OnLButtonUp(), OnMouseMove(), OnPaint(), CBrowseFrameCtrl::OnSelChangeMatches(), OnSetCursor(), CBrowseFrameCtrl::OnTreeSelection(), SaveColumnState(), ScrollTo(), SelectSchema(), SetSortColumn(), Update(), and UpdateScroll().

CSchema* CMatchCtrl::m_pSchema
 

Definition at line 50 of file CtrlMatch.h.

Referenced by LoadColumnState(), CBaseMatchWnd::OnContextMenu(), CSearchWnd::OnDestroy(), CHitMonitorWnd::OnDestroy(), CBrowseHostWnd::OnDestroy(), CBaseMatchWnd::OnSearchColumns(), CBrowseFrameCtrl::OnTreeSelection(), SaveColumnState(), and SelectSchema().

CImageList CMatchCtrl::m_pStars [protected]
 

Definition at line 55 of file CtrlMatch.h.

Referenced by DrawRating(), and OnCreate().

CString CMatchCtrl::m_sMessage [protected]
 

Definition at line 66 of file CtrlMatch.h.

Referenced by DrawEmptyMessage(), OnPaint(), and SetMessage().

LPCTSTR CMatchCtrl::m_sType
 

Definition at line 49 of file CtrlMatch.h.

Referenced by LoadColumnState(), SaveColumnState(), and SetBrowseMode().

CHeaderCtrl CMatchCtrl::m_wndHeader [protected]
 

Definition at line 53 of file CtrlMatch.h.

Referenced by DrawItem(), HitTestHeader(), InsertColumn(), LoadColumnState(), OnCreate(), OnHScroll(), OnLButtonDown(), CSearchWnd::OnSkinChange(), CHitMonitorWnd::OnSkinChange(), CBrowseFrameCtrl::OnSkinChange(), SaveColumnState(), SelectSchema(), SetBrowseMode(), SetSortColumn(), and UpdateScroll().

CMatchTipCtrl CMatchCtrl::m_wndTip [protected]
 

Definition at line 54 of file CtrlMatch.h.

Referenced by DestructiveUpdate(), DoDelete(), DoExpand(), OnCreate(), OnDestroy(), OnKeyDown(), OnLButtonDown(), and OnMouseMove().


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