📄 fontcombo.h
字号:
// FontCombo.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CFontCombo window
class CFontCombo : public CComboBox
{
// Construction
public:
CFontCombo();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFontCombo)
protected:
virtual void PreSubclassWindow();
//}}AFX_VIRTUAL
// Implementation
public:
BYTE required_charset;
virtual ~CFontCombo();
static int CALLBACK EnumFontFamExProc(
ENUMLOGFONTEX *lpelfe,
NEWTEXTMETRICEX *lpntme,
int FontType,
LPARAM lParam);
// Generated message map functions
protected:
//{{AFX_MSG(CFontCombo)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
protected:
// this class can be CObList for storing any font properties
CStringList fontlist;
private:
void ProcessFonts(void);
};
/////////////////////////////////////////////////////////////////////////////
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -