ColorStatic.h
上传用户:ywlong9188
上传日期:2022-05-31
资源大小:2656k
文件大小:1k
- // ColorStatic.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CColorStatic window
- #include "ColorDlg.h"
- class CRDlg;
- class CColorStatic : public CStatic
- {
- // Construction
- public:
- CColorStatic();
-
- // Attributes
- public:
- CColorDlg m_cDlg;
- COLORREF m_color;
- void SetColor(COLORREF color);
- void GetColor(COLORREF& color);
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CColorStatic)
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CColorStatic();
- // Generated message map functions
- protected:
- //{{AFX_MSG(CColorStatic)
- afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
- afx_msg void OnPaint();
- afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
- //}}AFX_MSG
-
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////