ColorButton.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. #if !defined(AFX_COLORBUTTON_H__47E63433_C638_4E2C_90F6_3F860699B8E8__INCLUDED_)
  2. #define AFX_COLORBUTTON_H__47E63433_C638_4E2C_90F6_3F860699B8E8__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // ColorButton.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CColorButton window
  10. class CColorButton : public CButton
  11. {
  12. // Construction
  13. public:
  14. CColorButton();
  15. DWORD m_iSubButtonNum;
  16. LONG StockHandle;
  17. // Attributes
  18. public:
  19. // Operations
  20. public:
  21. // Overrides
  22. // ClassWizard generated virtual function overrides
  23. //{{AFX_VIRTUAL(CColorButton)
  24. //}}AFX_VIRTUAL
  25. // Implementation
  26. public:
  27. virtual ~CColorButton();
  28. // Generated message map functions
  29. protected:
  30. //{{AFX_MSG(CColorButton)
  31. afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
  32. afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
  33. //}}AFX_MSG
  34. DECLARE_MESSAGE_MAP()
  35. };
  36. /////////////////////////////////////////////////////////////////////////////
  37. //{{AFX_INSERT_LOCATION}}
  38. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  39. #endif // !defined(AFX_COLORBUTTON_H__47E63433_C638_4E2C_90F6_3F860699B8E8__INCLUDED_)