#if !defined(AFX_TOOLBAREX_H__75249313_031C_4672_A2EA_AB028343E633__INCLUDED_) #define AFX_TOOLBAREX_H__75249313_031C_4672_A2EA_AB028343E633__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // ToolBarEx.h : header file // ///////////////////////////////////////////////////////////////////////////// // CToolBarEx window class CToolBarEx : public CToolBar { // Construction public: CToolBarEx(); // Attributes public: // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CToolBarEx) //}}AFX_VIRTUAL // Implementation public: void SetImageSize(int nImageWidth,int nImageHeight); void AddBitmap(CBitmap* pbmImage, COLORREF crMask); void AddBitmap(CBitmap* pbmImage, CBitmap* pbmMask); void SetDefaultSize(); void AddSeparator(int nButton); void AddIcon(HICON hIcon); void SetSize(int nWidth=50,int nHeight=40); void SetButton(int nButton,int nID, int nImage,LPTSTR lpText); void SetButton(int nButton,int nID, int nImage); void SetButtonNumber(int n); void SetImage(); CImageList img; CSize sizeImage; virtual ~CToolBarEx(); // Generated message map functions protected: //{{AFX_MSG(CToolBarEx) // NOTE - the ClassWizard will add and remove member functions here. //}}AFX_MSG DECLARE_MESSAGE_MAP() }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_TOOLBAREX_H__75249313_031C_4672_A2EA_AB028343E633__INCLUDED_)