#include <CtrlCoolTip.h>
Inheritance diagram for CCoolTipCtrl:
Public Member Functions | |
CCoolTipCtrl () | |
virtual | ~CCoolTipCtrl () |
virtual void | Show (LPVOID pContext, HWND hAltWnd=NULL) |
virtual void | Hide () |
virtual BOOL | Create (CWnd *pParentWnd, BOOL *pbEnable=NULL) |
Protected Member Functions | |
virtual void | ShowImpl () |
void | CalcSizeHelper () |
void | AddSize (CDC *pDC, LPCTSTR pszText, int nBase=0) |
void | GetPaintRect (RECT *pRect) |
void | DrawText (CDC *pDC, POINT *pPoint, LPCTSTR pszText, int nBase=0) |
void | DrawRule (CDC *pDC, POINT *pPoint, BOOL bPos=FALSE) |
BOOL | WindowFromPointBelongsToOwner (const CPoint &point) |
CLineGraph * | CreateLineGraph () |
virtual BOOL | OnPrepare () |
virtual void | OnCalcSize (CDC *pDC) |
virtual void | OnShow () |
virtual void | OnHide () |
virtual void | OnPaint (CDC *pDC) |
afx_msg int | OnCreate (LPCREATESTRUCT lpCreateStruct) |
afx_msg void | OnDestroy () |
afx_msg BOOL | OnEraseBkgnd (CDC *pDC) |
afx_msg void | OnPaint () |
afx_msg void | OnMouseMove (UINT nFlags, CPoint point) |
afx_msg void | OnKeyDown (UINT nChar, UINT nRepCnt, UINT nFlags) |
afx_msg void | OnTimer (UINT nIDEvent) |
Protected Attributes | |
BOOL * | m_pbEnable |
LPVOID | m_pContext |
HWND | m_hAltWnd |
BOOL | m_bTimer |
BOOL | m_bVisible |
CPoint | m_pOpen |
DWORD | m_tOpen |
CSize | m_sz |
Static Protected Attributes | |
static LPCTSTR | m_hClass = NULL |
|
Definition at line 61 of file CtrlCoolTip.cpp. |
|
Definition at line 75 of file CtrlCoolTip.cpp. References NULL. |
|
Definition at line 264 of file CtrlCoolTip.cpp. References m_sz. Referenced by CUploadTipCtrl::OnCalcSize(), CFolderTipCtrl::OnCalcSize(), CAlbumTipCtrl::OnCalcSize(), CNeighbourTipCtrl::OnCalcSize(), CLibraryTipCtrl::OnCalcSize(), and CDownloadTipCtrl::OnCalcSize(). |
|
Definition at line 251 of file CtrlCoolTip.cpp. References CoolInterface, CCoolInterface::m_fntBold, m_sz, and OnCalcSize(). Referenced by CUploadTipCtrl::OnPrepare(), CFolderTipCtrl::OnPrepare(), CAlbumTipCtrl::OnPrepare(), CNeighbourTipCtrl::OnPrepare(), CLibraryTipCtrl::OnPrepare(), and CDownloadTipCtrl::OnPrepare(). |
|
Definition at line 83 of file CtrlCoolTip.cpp. References CShareazaApp::m_bRTL, m_hClass, m_pbEnable, NULL, and theApp. Referenced by CNeighboursWnd::OnCreate(), CUploadsCtrl::OnCreate(), CMediaListCtrl::OnCreate(), CLibraryTreeView::OnCreate(), CLibraryFrame::OnCreate(), CHomeDownloadsBox::OnCreate(), and CDownloadsCtrl::OnCreate(). |
|
Definition at line 335 of file CtrlCoolTip.cpp. References CCoolInterface::CalculateColour(), CoolInterface, CLineGraph::m_bShowAxis, CLineGraph::m_bShowLegend, CLineGraph::m_crBack, CLineGraph::m_crGrid, CCoolInterface::m_crTipBack, CCoolInterface::m_crTipBorder, and CLineGraph::m_nMinGridVert. Referenced by CUploadTipCtrl::OnShow(), CNeighbourTipCtrl::OnShow(), and CDownloadTipCtrl::OnShow(). |
|
Definition at line 294 of file CtrlCoolTip.cpp. References CoolInterface, CCoolInterface::m_crTipBorder, m_sz, and TIP_MARGIN. Referenced by CUploadTipCtrl::OnPaint(), CFolderTipCtrl::OnPaint(), CAlbumTipCtrl::OnPaint(), CNeighbourTipCtrl::OnPaint(), CLibraryTipCtrl::OnPaint(), and CDownloadTipCtrl::OnPaint(). |
|
Definition at line 279 of file CtrlCoolTip.cpp. References CoolInterface, CShareazaApp::m_bRTL, CCoolInterface::m_crTipBack, NULL, and theApp. Referenced by CUploadTipCtrl::OnPaint(), CFolderTipCtrl::OnPaint(), CAlbumTipCtrl::OnPaint(), CNeighbourTipCtrl::OnPaint(), CLibraryTipCtrl::OnPaint(), and CDownloadTipCtrl::OnPaint(). |
|
Definition at line 271 of file CtrlCoolTip.cpp. References m_sz. |
|
|
Reimplemented in CDownloadTipCtrl, CLibraryTipCtrl, CNeighbourTipCtrl, CAlbumTipCtrl, CFolderTipCtrl, and CUploadTipCtrl. Definition at line 443 of file CtrlCoolTip.cpp. Referenced by CalcSizeHelper(). |
|
Definition at line 354 of file CtrlCoolTip.cpp. References m_bTimer. |
|
Reimplemented in CLibraryTipCtrl. Definition at line 361 of file CtrlCoolTip.cpp. References Hide(), m_bTimer, and m_bVisible. Referenced by CLibraryTipCtrl::OnDestroy(). |
|
Definition at line 369 of file CtrlCoolTip.cpp. |
|
Reimplemented in CDownloadTipCtrl, CLibraryTipCtrl, CNeighbourTipCtrl, and CUploadTipCtrl. Definition at line 451 of file CtrlCoolTip.cpp. Referenced by Hide(). |
|
Definition at line 401 of file CtrlCoolTip.cpp. References Hide(). |
|
Definition at line 396 of file CtrlCoolTip.cpp. References Hide(). |
|
Definition at line 374 of file CtrlCoolTip.cpp. References CoolInterface, CCoolInterface::m_crTipBack, CCoolInterface::m_crTipBorder, CCoolInterface::m_fntBold, and TIP_MARGIN. Referenced by CDownloadTipCtrl::OnPaint(). |
|
Reimplemented in CDownloadTipCtrl, CLibraryTipCtrl, CNeighbourTipCtrl, CAlbumTipCtrl, CFolderTipCtrl, and CUploadTipCtrl. Definition at line 455 of file CtrlCoolTip.cpp. |
|
Reimplemented in CDownloadTipCtrl, CLibraryTipCtrl, CNeighbourTipCtrl, CAlbumTipCtrl, CFolderTipCtrl, and CUploadTipCtrl. Definition at line 438 of file CtrlCoolTip.cpp. Referenced by ShowImpl(). |
|
Reimplemented in CDownloadTipCtrl, CLibraryTipCtrl, CNeighbourTipCtrl, and CUploadTipCtrl. Definition at line 447 of file CtrlCoolTip.cpp. Referenced by ShowImpl(). |
|
Reimplemented in CDownloadTipCtrl, CLibraryTipCtrl, CNeighbourTipCtrl, and CUploadTipCtrl. Definition at line 407 of file CtrlCoolTip.cpp. References Hide(), m_bVisible, m_hAltWnd, m_pOpen, m_tOpen, NULL, ShowImpl(), and WindowFromPointBelongsToOwner(). Referenced by CUploadTipCtrl::OnTimer(), CNeighbourTipCtrl::OnTimer(), CLibraryTipCtrl::OnTimer(), and CDownloadTipCtrl::OnTimer(). |
|
Definition at line 97 of file CtrlCoolTip.cpp. References Hide(), CSettings::Interface, m_bTimer, m_bVisible, m_hAltWnd, m_pbEnable, m_pContext, m_pOpen, m_tOpen, NULL, Settings, ShowImpl(), TIP_TIMER, and CSettings::sInterface::TipDelay. Referenced by CUploadsCtrl::OnMouseMove(), CTipListCtrl::OnMouseMove(), CMediaListCtrl::OnMouseMove(), CLibraryTreeCtrl::OnMouseMove(), CLibraryAlbumView::OnMouseMove(), CDownloadsCtrl::OnMouseMove(), and CHomeDownloadsBox::OnSetCursor(). |
|
Definition at line 154 of file CtrlCoolTip.cpp. References CSettings::Interface, LWA_ALPHA, m_bTimer, m_bVisible, CShareazaApp::m_dwWindowsVersion, m_pOpen, m_sz, NULL, OnPrepare(), OnShow(), Settings, theApp, TIP_MARGIN, TIP_OFFSET_X, TIP_OFFSET_Y, TIP_TIMER, CSettings::sInterface::TipAlpha, and WS_EX_LAYERED. |
|
Definition at line 316 of file CtrlCoolTip.cpp. References m_hAltWnd, and NULL. Referenced by OnTimer(). |
|
Definition at line 44 of file CtrlCoolTip.h. Referenced by Hide(), OnCreate(), OnDestroy(), Show(), and ShowImpl(). |
|
Definition at line 45 of file CtrlCoolTip.h. Referenced by Hide(), OnDestroy(), CLibraryTipCtrl::OnTimer(), OnTimer(), Show(), and ShowImpl(). |
|
Definition at line 43 of file CtrlCoolTip.h. Referenced by OnTimer(), Show(), and WindowFromPointBelongsToOwner(). |
|
Definition at line 49 of file CtrlCoolTip.cpp. Referenced by Create(). |
|
Definition at line 41 of file CtrlCoolTip.h. |
|
|
Definition at line 46 of file CtrlCoolTip.h. Referenced by Hide(), OnTimer(), Show(), and ShowImpl(). |
|
|
Definition at line 47 of file CtrlCoolTip.h. |