📄 nstatic.h
字号:
#pragma once
// CNStatic
class CNStatic : public CStatic
{
DECLARE_DYNAMIC(CNStatic)
public:
CNStatic();
virtual ~CNStatic();
protected:
int m_px ;
int m_tx ;
COLORREF m_bkc;
COLORREF m_txtc;
CBitmap *m_bit;
CFont *m_font;
CString m_str;
protected:
DECLARE_MESSAGE_MAP()
public:
void SetText(CString str, BOOL Redraw = TRUE);
void SetBKColor(COLORREF crColor);
void SetTextColor(COLORREF crColor);
void SetBitmapID(UINT nID);
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
void SetFont(CFont* pFont);
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -