colorstatic.h
来自「程序开发中写log用的实现代码, C语言代码, 可以不用修改再C++或MFC中使」· C头文件 代码 · 共 34 行
H
34 行
// ColorStatic.h: interface for the CColorStatic class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_CColorStatic_H__EB40A58A_BD43_4EEF_A0C9_BAFA85A5574F__INCLUDED_)
#define AFX_CColorStatic_H__EB40A58A_BD43_4EEF_A0C9_BAFA85A5574F__INCLUDED_
class CColorStatic: public CStatic
{
DECLARE_DYNAMIC(CColorStatic)
// Constructor/Destructor
public:
CColorStatic();
public:
void SetTextColor(COLORREF clrText);
protected:
virtual void PreSubclassWindow();
protected:
COLORREF m_clrText;
COLORREF m_clrBack;
CBrush m_brBkgnd;
protected:
afx_msg HBRUSH CtlColor(CDC *pDC, UINT nCtlColor);
DECLARE_MESSAGE_MAP()
};
#endif // !defined(AFX_CColorStatic_H__EB40A58A_BD43_4EEF_A0C9_BAFA85A5574F__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?