www.pudn.com > 6433624505.rar > ColorEdit.h
#if !defined(AFX_COLOREDIT_H__2E97D248_F626_477C_8FB4_525223BB67AE__INCLUDED_)
#define AFX_COLOREDIT_H__2E97D248_F626_477C_8FB4_525223BB67AE__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ColorEdit.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CColorEdit window
class CColorEdit : public CEdit
{
// Construction
public:
CColorEdit();
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CColorEdit)
//}}AFX_VIRTUAL
// Implementation
public:
CBrush m_brush;
void SetBackColor(COLORREF BackColor);
virtual ~CColorEdit();
// Generated message map functions
protected:
COLORREF m_BackColor;
//{{AFX_MSG(CColorEdit)
afx_msg HBRUSH CtlColor(CDC* pDC, UINT nCtlColor);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_COLOREDIT_H__2E97D248_F626_477C_8FB4_525223BB67AE__INCLUDED_)