📄 ctext.hpp
字号:
// Static text
#ifndef _CTEXT_HPP
#define _CTEXT_HPP
#include "CWnd.hpp"
#include "CString.hpp"
class CText : public CWnd {
public:
// Constructors
CText() {}
CText(CWnd& father,int nID) : CWnd(father,nID) {}
// This seems to be very useful
CText& operator=(LPTSTR txt) { SetText(txt); return *this; }
CText& operator=(CString& txt) { SetText(txt); return *this; }
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -