www.pudn.com > MyColorEdit.rar > ColorEdit.h
#if !defined(AFX_COLOREDIT_H__EFC281F7_FF72_4E7E_838F_ADE81F3EBB14__INCLUDED_)
#define AFX_COLOREDIT_H__EFC281F7_FF72_4E7E_838F_ADE81F3EBB14__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ColorEdit.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CColorEdit window
class CColorEdit : public CEdit
{
// Construction
public:
CColorEdit();
CRect RedrawRect;
// Attributes
public:
// Operations
public:
void DrawEditCtrl( CRect &rect );
friend void SetRectValue(CColorEdit &edit,const CRect &rect);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CColorEdit)
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CColorEdit();
// Generated message map functions
protected:
//{{AFX_MSG(CColorEdit)
afx_msg void OnPaint();
//}}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__EFC281F7_FF72_4E7E_838F_ADE81F3EBB14__INCLUDED_)