www.pudn.com > Gh0st.rar > ColorEdit.h, change:2011-02-03,size:1623b


#if !defined(AFX_COLOREDIT_H__C5E11E81_31B0_469A_9B67_4E76D10E2B54__INCLUDED_) 
#define AFX_COLOREDIT_H__C5E11E81_31B0_469A_9B67_4E76D10E2B54__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: 
	void SetBordText(BOOL Isbord=TRUE); 
	void AppendText(LPCTSTR lpszString); 
	void SetTextColor(COLORREF col); 
	void SetBackColor(COLORREF col); 
	void SetFontHeight(int Height); 
	 
	CString& GetText(); 
	 
	const CColorEdit& operator=(const CString& stringSrc); 
	const CColorEdit& operator=(LPCSTR lpsz); 
	const CColorEdit& operator=(LPCWSTR lpsz); 
	 
	virtual ~CColorEdit(); 
	 
	// Generated message map functions 
protected: 
	//{{AFX_MSG(CColorEdit) 
	afx_msg HBRUSH CtlColor(CDC* pDC, UINT nCtlColor); 
	//}}AFX_MSG 
	 
	DECLARE_MESSAGE_MAP() 
		 
private: 
	CFont m_font; 
	COLORREF m_text_color; 
	COLORREF m_back_color; 
	CBrush m_brush; 
	 
	CString m_text; 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_COLOREDIT_H__C5E11E81_31B0_469A_9B67_4E76D10E2B54__INCLUDED_)