#include <CtrlCoolBar.h>
Collaboration diagram for CCoolBarItem:

Public Member Functions | |
| CCoolBarItem (CCoolBarCtrl *pBar, UINT nID=ID_SEPARATOR, int nImage=-1) | |
| CCoolBarItem (CCoolBarCtrl *pBar, CCoolBarItem *pCopy) | |
| virtual | ~CCoolBarItem () |
| virtual void | Show (BOOL bOn) |
| virtual void | Enable (BOOL bOn) |
| virtual void | SetCheck (int nCheck) |
| virtual void | SetImage (UINT nCommandID) |
| virtual void | SetText (LPCTSTR lpszText) |
| virtual void | SetTip (LPCTSTR pszTip) |
| virtual void | SetTextColour (COLORREF crText=0xFFFFFFFF) |
| void | SetButtonmark (HBITMAP hBitmap) |
Static Public Member Functions | |
| static CCoolBarItem * | FromCmdUI (CCmdUI *pUI) |
Public Attributes | |
| BOOL | m_bVisible |
| BOOL | m_bEnabled |
| BOOL | m_bChecked |
| int | m_nImage |
| CString | m_sText |
| CString | m_sTip |
| COLORREF | m_crText |
| UINT | m_nCtrlID |
| int | m_nCtrlHeight |
| BOOL | m_bButtonTest |
| CBitmap | m_bmButtonmark |
Protected Member Functions | |
| void | Paint (CDC *pDC, CRect &rc, BOOL bDown, BOOL bHot, BOOL bMenuGray, BOOL bTransparent) |
Protected Attributes | |
| CCoolBarCtrl * | m_pBar |
| BOOL | m_bDirty |
| int | m_nWidth |
Friends | |
| class | CCoolBarCtrl |
| CCoolBarItem::CCoolBarItem | ( | CCoolBarCtrl * | pBar, | |
| UINT | nID = ID_SEPARATOR, |
|||
| int | nImage = -1 | |||
| ) |
| CCoolBarItem::CCoolBarItem | ( | CCoolBarCtrl * | pBar, | |
| CCoolBarItem * | pCopy | |||
| ) |
| CCoolBarItem::~CCoolBarItem | ( | ) | [virtual] |
| void CCoolBarItem::Show | ( | BOOL | bOn | ) | [virtual] |
| void CCoolBarItem::Enable | ( | BOOL | bOn | ) | [virtual] |
| void CCoolBarItem::SetCheck | ( | int | nCheck | ) | [virtual] |
| void CCoolBarItem::SetImage | ( | UINT | nCommandID | ) | [virtual] |
| void CCoolBarItem::SetText | ( | LPCTSTR | lpszText | ) | [virtual] |
| void CCoolBarItem::SetTip | ( | LPCTSTR | pszTip | ) | [virtual] |
| void CCoolBarItem::SetTextColour | ( | COLORREF | crText = 0xFFFFFFFF |
) | [virtual] |
| void CCoolBarItem::Paint | ( | CDC * | pDC, | |
| CRect & | rc, | |||
| BOOL | bDown, | |||
| BOOL | bHot, | |||
| BOOL | bMenuGray, | |||
| BOOL | bTransparent | |||
| ) | [protected] |
| void CCoolBarItem::SetButtonmark | ( | HBITMAP | hBitmap | ) |
| CCoolBarItem * CCoolBarItem::FromCmdUI | ( | CCmdUI * | pUI | ) | [static] |
friend class CCoolBarCtrl [friend] |
| CString CCoolBarItem::m_sText |
| CString CCoolBarItem::m_sTip |
| COLORREF CCoolBarItem::m_crText |
| CBitmap CCoolBarItem::m_bmButtonmark |
CCoolBarCtrl* CCoolBarItem::m_pBar [protected] |
BOOL CCoolBarItem::m_bDirty [protected] |
int CCoolBarItem::m_nWidth [protected] |
1.5.2