?? fontview.h
字號:
class CMyApp : public CWinApp
{
public:
virtual BOOL InitInstance ();
};
class CMainWindow : public CWnd
{
protected:
int m_cxChar;
int m_cyChar;
CFont m_fontMain;
CFont m_fontSample;
CStatic m_wndLBTitle;
CListBox m_wndListBox;
CButton m_wndCheckBox;
CButton m_wndGroupBox;
CStatic m_wndSampleText;
CButton m_wndPushButton;
void FillListBox ();
public:
CMainWindow ();
static int CALLBACK EnumFontFamProc (ENUMLOGFONT* lpelf,
NEWTEXTMETRIC* lpntm, int nFontType, LPARAM lParam);
protected:
virtual void PostNcDestroy ();
afx_msg int OnCreate (LPCREATESTRUCT lpcs);
afx_msg void OnPushButtonClicked ();
afx_msg void OnCheckBoxClicked ();
afx_msg void OnSelChange ();
DECLARE_MESSAGE_MAP ()
};
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -