crashrpt
Public Types | Public Member Functions | Public Attributes | List of all members
WTL::CBitmapButtonImpl< T, TBase, TWinTraits > Class Template Reference
Inheritance diagram for WTL::CBitmapButtonImpl< T, TBase, TWinTraits >:

Public Types

enum  {
  _nImageNormal = 0, _nImagePushed, _nImageFocusOrHover, _nImageDisabled,
  _nImageCount = 4
}
 
enum  { ID_TIMER_FIRST = 1000, ID_TIMER_REPEAT = 1001 }
 

Public Member Functions

 CBitmapButtonImpl (DWORD dwExtendedStyle=BMPBTN_AUTOSIZE, HIMAGELIST hImageList=NULL)
 
BOOL SubclassWindow (HWND hWnd)
 
DWORD GetBitmapButtonExtendedStyle () const
 
DWORD SetBitmapButtonExtendedStyle (DWORD dwExtendedStyle, DWORD dwMask=0)
 
HIMAGELIST GetImageList () const
 
HIMAGELIST SetImageList (HIMAGELIST hImageList)
 
int GetToolTipTextLength () const
 
bool GetToolTipText (LPTSTR lpstrText, int nLength) const
 
bool SetToolTipText (LPCTSTR lpstrText)
 
void SetImages (int nNormal, int nPushed=-1, int nFocusOrHover=-1, int nDisabled=-1)
 
BOOL SizeToImage ()
 
void DoPaint (CDCHandle dc)
 
LRESULT OnCreate (UINT, WPARAM, LPARAM, BOOL &bHandled)
 
LRESULT OnDestroy (UINT, WPARAM, LPARAM, BOOL &bHandled)
 
LRESULT OnMouseMessage (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
 
LRESULT OnEraseBackground (UINT, WPARAM, LPARAM, BOOL &)
 
LRESULT OnPaint (UINT, WPARAM wParam, LPARAM, BOOL &)
 
LRESULT OnFocus (UINT uMsg, WPARAM, LPARAM, BOOL &bHandled)
 
LRESULT OnLButtonDown (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &)
 
LRESULT OnLButtonDblClk (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &)
 
LRESULT OnLButtonUp (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &)
 
LRESULT OnCaptureChanged (UINT, WPARAM, LPARAM, BOOL &bHandled)
 
LRESULT OnEnable (UINT, WPARAM, LPARAM, BOOL &bHandled)
 
LRESULT OnMouseMove (UINT, WPARAM, LPARAM lParam, BOOL &bHandled)
 
LRESULT OnMouseLeave (UINT, WPARAM, LPARAM, BOOL &)
 
LRESULT OnKeyDown (UINT, WPARAM wParam, LPARAM, BOOL &bHandled)
 
LRESULT OnKeyUp (UINT, WPARAM wParam, LPARAM, BOOL &bHandled)
 
LRESULT OnTimer (UINT, WPARAM wParam, LPARAM, BOOL &)
 
LRESULT OnUpdateUiState (UINT, WPARAM, LPARAM, BOOL &)
 
void Init ()
 
BOOL StartTrackMouseLeave ()
 
bool IsHoverMode () const
 

Public Attributes

DWORD m_dwExtendedStyle
 
CImageList m_ImageList
 
int m_nImage [_nImageCount]
 
CToolTipCtrl m_tip
 
LPTSTR m_lpstrToolTipText
 
unsigned m_fMouseOver:1
 
unsigned m_fFocus:1
 
unsigned m_fPressed:1
 

The documentation for this class was generated from the following file: