ColrButnDlg.h
资源名称:ColrButn.rar [点击查看]
上传用户:ledshipin
上传日期:2022-07-26
资源大小:29k
文件大小:2k
源码类别:
按钮控件
开发平台:
Visual C++
- // ColrButnDlg.h : header file
- //
- #if !defined(AFX_COLRBUTNDLG_H__17A6F6E7_6B70_4085_898F_FE62177E9433__INCLUDED_)
- #define AFX_COLRBUTNDLG_H__17A6F6E7_6B70_4085_898F_FE62177E9433__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- /////////////////////////////////////////////////////////////////////////////
- // CColrButnDlg dialog
- class CColrButnDlg : public CDialog
- {
- // Construction
- public:
- CColrButnDlg(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CColrButnDlg)
- enum { IDD = IDD_COLRBUTN_DIALOG };
- int m_nColor;
- BOOL m_bRed;
- BOOL m_bGreen;
- BOOL m_bBlue;
- //}}AFX_DATA
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CColrButnDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- HICON m_hIcon;
- // Generated message map functions
- //{{AFX_MSG(CColrButnDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- afx_msg void OnRadioblk();
- afx_msg void OnRadioclr();
- afx_msg void OnButtonapply();
- afx_msg void OnDrawItem(int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_COLRBUTNDLG_H__17A6F6E7_6B70_4085_898F_FE62177E9433__INCLUDED_)