www.pudn.com > BKColor.rar > BKColorDlg.h


// BKColorDlg.h : header file 
// 
 
#if !defined(AFX_BKCOLORDLG_H__5E511E1D_FCDE_45A3_833E_1C2DA738DF22__INCLUDED_) 
#define AFX_BKCOLORDLG_H__5E511E1D_FCDE_45A3_833E_1C2DA738DF22__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
///////////////////////////////////////////////////////////////////////////// 
// CBKColorDlg dialog 
#include "MyButton.h" 
 
class CBKColorDlg : public CDialog 
{ 
// Construction 
public: 
	CBrush m_brushStatic; 
	CBrush m_brushEdit; 
//	CBrush m_brushdlg; 
	CBKColorDlg(CWnd* pParent = NULL);	// standard constructor 
 
// Dialog Data 
	//{{AFX_DATA(CBKColorDlg) 
	enum { IDD = IDD_BKCOLOR_DIALOG }; 
	CMyButton	m_sub; 
	CMyButton	m_add; 
	CMyButton	m_cancel; 
	CMyButton	m_ok; 
	int		m_num1; 
	int		m_num2; 
	int		m_result; 
	//}}AFX_DATA 
 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CBKColorDlg) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	HICON m_hIcon; 
 
	// Generated message map functions 
	//{{AFX_MSG(CBKColorDlg) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam); 
	afx_msg void OnPaint(); 
	afx_msg HCURSOR OnQueryDragIcon(); 
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); 
	afx_msg void OnButtonAdd(); 
	afx_msg void OnButtonSub(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_BKCOLORDLG_H__5E511E1D_FCDE_45A3_833E_1C2DA738DF22__INCLUDED_)