#ifndef __COLORBUTTON_H #define __COLORBUTTON_H // ColorButton.h : header file // ///////////////////////////////////////////////////////////////////////////// // CColorButton window class CColorButton : public CButton { // Construction public: void SetColor(); COLORREF SelectColor(COLORREF color); CBrush m_brColor; COLORREF m_Color; CColorButton(); // Attributes public: // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CColorButton) public: virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct); //}}AFX_VIRTUAL // Implementation public: virtual ~CColorButton(); // Generated message map functions protected: //{{AFX_MSG(CColorButton) //}}AFX_MSG DECLARE_MESSAGE_MAP() }; ///////////////////////////////////////////////////////////////////////////// #endif // __COLORBUTTON_H