crashrpt2
Public Member Functions | Static Public Member Functions | List of all members
WTL::CToolBarCtrlT< TBase > Class Template Reference
Inheritance diagram for WTL::CToolBarCtrlT< TBase >:

Public Member Functions

 CToolBarCtrlT (HWND hWnd=NULL)
 
CToolBarCtrlT< TBase > & operator= (HWND hWnd)
 
HWND Create (HWND hWndParent, ATL::_U_RECT rect=NULL, LPCTSTR szWindowName=NULL, DWORD dwStyle=0, DWORD dwExStyle=0, ATL::_U_MENUorID MenuOrID=0U, LPVOID lpCreateParam=NULL)
 
BOOL IsButtonEnabled (int nID) const
 
BOOL IsButtonChecked (int nID) const
 
BOOL IsButtonPressed (int nID) const
 
BOOL IsButtonHidden (int nID) const
 
BOOL IsButtonIndeterminate (int nID) const
 
int GetState (int nID) const
 
BOOL SetState (int nID, UINT nState)
 
BOOL GetButton (int nIndex, LPTBBUTTON lpButton) const
 
int GetButtonCount () const
 
BOOL GetItemRect (int nIndex, LPRECT lpRect) const
 
void SetButtonStructSize (int nSize=sizeof(TBBUTTON))
 
BOOL SetButtonSize (SIZE size)
 
BOOL SetButtonSize (int cx, int cy)
 
BOOL SetBitmapSize (SIZE size)
 
BOOL SetBitmapSize (int cx, int cy)
 
CToolTipCtrl GetToolTips () const
 
void SetToolTips (HWND hWndToolTip)
 
void SetNotifyWnd (HWND hWnd)
 
int GetRows () const
 
void SetRows (int nRows, BOOL bLarger, LPRECT lpRect)
 
BOOL SetCmdID (int nIndex, UINT nID)
 
DWORD GetBitmapFlags () const
 
int GetBitmap (int nID) const
 
int GetButtonText (int nID, LPTSTR lpstrText) const
 
CImageList GetImageList (int nIndex=0) const
 
CImageList SetImageList (HIMAGELIST hImageList, int nIndex=0)
 
CImageList GetDisabledImageList (int nIndex=0) const
 
CImageList SetDisabledImageList (HIMAGELIST hImageList, int nIndex=0)
 
CImageList GetHotImageList (int nIndex=0) const
 
CImageList SetHotImageList (HIMAGELIST hImageList, int nIndex=0)
 
DWORD GetStyle () const
 
void SetStyle (DWORD dwStyle)
 
DWORD GetButtonSize () const
 
void GetButtonSize (SIZE &size) const
 
BOOL GetRect (int nID, LPRECT lpRect) const
 
int GetTextRows () const
 
BOOL SetButtonWidth (int cxMin, int cxMax)
 
BOOL SetIndent (int nIndent)
 
BOOL SetMaxTextRows (int nMaxTextRows)
 
BOOL EnableButton (int nID, BOOL bEnable=TRUE)
 
BOOL CheckButton (int nID, BOOL bCheck=TRUE)
 
BOOL PressButton (int nID, BOOL bPress=TRUE)
 
BOOL HideButton (int nID, BOOL bHide=TRUE)
 
BOOL Indeterminate (int nID, BOOL bIndeterminate=TRUE)
 
int AddBitmap (int nNumButtons, UINT nBitmapID)
 
int AddBitmap (int nNumButtons, HBITMAP hBitmap)
 
BOOL AddButtons (int nNumButtons, LPTBBUTTON lpButtons)
 
BOOL InsertButton (int nIndex, LPTBBUTTON lpButton)
 
BOOL InsertButton (int nIndex, int iCommand, BYTE Style, BYTE State, int iBitmap, INT_PTR iString, DWORD_PTR lParam)
 
BOOL InsertButton (int nIndex, int iCommand, BYTE Style, BYTE State, int iBitmap, LPCTSTR lpszItem, DWORD_PTR lParam)
 
BOOL AddButton (LPTBBUTTON lpButton)
 
BOOL AddButton (int iCommand, BYTE Style, BYTE State, int iBitmap, INT_PTR iString, DWORD_PTR lParam)
 
BOOL AddButton (int iCommand, BYTE Style, BYTE State, int iBitmap, LPCTSTR lpszItem, DWORD_PTR lParam)
 
BOOL DeleteButton (int nIndex)
 
BOOL InsertSeparator (int nIndex, int cxWidth=8)
 
BOOL AddSeparator (int cxWidth=8)
 
int CommandToIndex (UINT nID) const
 
void SaveState (HKEY hKeyRoot, LPCTSTR lpszSubKey, LPCTSTR lpszValueName)
 
void RestoreState (HKEY hKeyRoot, LPCTSTR lpszSubKey, LPCTSTR lpszValueName)
 
void Customize ()
 
int AddString (UINT nStringID)
 
int AddStrings (LPCTSTR lpszStrings)
 
void AutoSize ()
 
BOOL ChangeBitmap (int nID, int nBitmap)
 
int LoadImages (int nBitmapID)
 
int LoadStdImages (int nBitmapID)
 
BOOL ReplaceBitmap (LPTBREPLACEBITMAP ptbrb)
 

Static Public Member Functions

static LPCTSTR GetWndClassName ()
 

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