Mercurial > vba-linux
view src/win32/ColorButton.h @ 1:f9f4f1b99eed
importing src directory
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:31:27 -0600 |
parents | |
children |
line wrap: on
line source
1 #if !defined(AFX_COLORBUTTON_H__DF02109B_B91C_49FD_954F_74A48B83C314__INCLUDED_)2 #define AFX_COLORBUTTON_H__DF02109B_B91C_49FD_954F_74A48B83C314__INCLUDED_4 #if _MSC_VER > 10005 #pragma once6 #endif // _MSC_VER > 10007 // ColorButton.h : header file8 //10 /////////////////////////////////////////////////////////////////////////////11 // ColorButton window13 class ColorButton : public CButton14 {15 // Construction16 public:17 ColorButton();19 // Attributes20 public:21 // Operations22 static bool isRegistered;23 public:24 void PreSubclassWindow();25 void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);27 // Overrides28 // ClassWizard generated virtual function overrides29 //{{AFX_VIRTUAL(ColorButton)30 //}}AFX_VIRTUAL32 // Implementation33 public:34 void setColor(u16 c);35 u16 color;36 virtual ~ColorButton();38 void registerClass();40 // Generated message map functions41 protected:42 //{{AFX_MSG(ColorButton)43 // NOTE - the ClassWizard will add and remove member functions here.44 //}}AFX_MSG46 DECLARE_MESSAGE_MAP()47 };49 /////////////////////////////////////////////////////////////////////////////51 //{{AFX_INSERT_LOCATION}}52 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.54 #endif // !defined(AFX_COLORBUTTON_H__DF02109B_B91C_49FD_954F_74A48B83C314__INCLUDED_)