nstatic.h

来自「你用过<<中华诗词6000>>吗?那个是VF编写的,而我」· C头文件 代码 · 共 33 行

H
33
字号
#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 + =
减小字号Ctrl + -
显示快捷键?