📄 colorstatic.h
字号:
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -