#include <CtrlIconButton.h>
Public Member Functions | |
CIconButtonCtrl () | |
virtual | ~CIconButtonCtrl () |
void | SetText (LPCTSTR pszText) |
void | SetIcon (UINT nIconID) |
void | SetIcon (HICON hIcon) |
void | SetHandCursor (BOOL bCursor) |
virtual BOOL | Create (const RECT &rect, CWnd *pParentWnd, UINT nControlID) |
Protected Member Functions | |
BOOL | RemoveStyle () |
afx_msg void | OnMouseMove (UINT nFlags, CPoint point) |
afx_msg void | OnLButtonDown (UINT nFlags, CPoint point) |
afx_msg void | OnLButtonUp (UINT nFlags, CPoint point) |
afx_msg void | OnRButtonDown (UINT nFlags, CPoint point) |
afx_msg void | OnRButtonUp (UINT nFlags, CPoint point) |
afx_msg void | OnLButtonDblClk (UINT nFlags, CPoint point) |
afx_msg void | OnPaint () |
afx_msg BOOL | OnEraseBkgnd (CDC *pDC) |
afx_msg void | OnEnable (BOOL bEnable) |
Protected Attributes | |
CImageList | m_pImageList |
BOOL | m_bCapture |
BOOL | m_bDown |
BOOL | m_bCursor |
|
Definition at line 51 of file CtrlIconButton.cpp. |
|
Definition at line 60 of file CtrlIconButton.cpp. |
|
Definition at line 67 of file CtrlIconButton.cpp. References NULL. Referenced by CSearchPadWnd::OnCreate(), CSearchInputBox::OnCreate(), and CHomeSearchCtrl::OnCreate(). |
|
Definition at line 311 of file CtrlIconButton.cpp. |
|
Definition at line 196 of file CtrlIconButton.cpp. |
|
Definition at line 178 of file CtrlIconButton.cpp. References OnLButtonDown(). |
|
Definition at line 146 of file CtrlIconButton.cpp. References m_bDown. Referenced by OnLButtonDblClk(). |
|
Definition at line 157 of file CtrlIconButton.cpp. References m_bCapture, and m_bDown. |
|
Definition at line 115 of file CtrlIconButton.cpp. References IDC_HAND, m_bCapture, m_bCursor, m_bDown, and theApp. |
|
|
Definition at line 183 of file CtrlIconButton.cpp. |
|
Definition at line 188 of file CtrlIconButton.cpp. |
|
Definition at line 97 of file CtrlIconButton.cpp. Referenced by SetIcon(). |
|
Definition at line 92 of file CtrlIconButton.cpp. References m_bCursor. Referenced by CSearchPadWnd::OnCreate(), CSearchInputBox::OnCreate(), and CHomeSearchCtrl::OnCreate(). |
|
Definition at line 86 of file CtrlIconButton.cpp. References m_pImageList, and RemoveStyle(). |
|
|
Definition at line 72 of file CtrlIconButton.cpp. Referenced by CSearchPanel::ShowStatus(). |
|
Definition at line 38 of file CtrlIconButton.h. Referenced by OnLButtonUp(), OnMouseMove(), and OnPaint(). |
|
Definition at line 40 of file CtrlIconButton.h. Referenced by OnMouseMove(), and SetHandCursor(). |
|
Definition at line 39 of file CtrlIconButton.h. Referenced by OnLButtonDown(), OnLButtonUp(), OnMouseMove(), and OnPaint(). |
|
Definition at line 37 of file CtrlIconButton.h. |