12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- #if !defined(AFX_SKINTOOLBAR_H__6DB4E733_2851_4C9E_B481_0A63C974C4C0__INCLUDED_)
- #define AFX_SKINTOOLBAR_H__6DB4E733_2851_4C9E_B481_0A63C974C4C0__INCLUDED_
- #include "EnBitmap.h" // Added by ClassView
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // SkinToolBar.h : header file
- //
- #include "SkinButton.h"
- #include "SkinStatic.h"
- /////////////////////////////////////////////////////////////////////////////
- // CSkinToolBar window
- class CSkinToolBar : public CSkinStatic
- {
- // Construction
- public:
- CSkinToolBar();
- // Attributes
- public:
- // Operations
- public:
- // Overrides
- // Implementation
- public:
- COLORREF m_crText;
- void SetTextColor(COLORREF cr){m_crText=cr;}
- void SetBasicCommands(CList<UINT, UINT> <Conmmand);
- BOOL m_bShow;
- CEnBitmap m_bmpToolBar;
- CPtrList m_ptButton;
- CArray <CRect,CRect&> m_rcButton;
- CList<UINT, UINT> m_ltCommands;
- int nSelectedButton;
- void RecalcLayout();
- virtual ~CSkinToolBar();
- BOOL LoadTBImage(UINT uIDRes,COLORREF crBack);
- void SetSizes( SIZE sizeButton, SIZE sizeImage );
- void ClearMemory();
- // Generated message map functions
- protected:
- //{{AFX_MSG(CSkinToolBar)
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- #endif // !defined(AFX_SKINTOOLBAR_H__6DB4E733_2851_4C9E_B481_0A63C974C4C0__INCLUDED_)
|