📄 test_fontdlg.h
字号:
// Test_FontDlg.h : header file
//
#if !defined(AFX_TEST_FONTDLG_H__37F4C623_1F27_436B_AC05_7449008EF2D5__INCLUDED_)
#define AFX_TEST_FONTDLG_H__37F4C623_1F27_436B_AC05_7449008EF2D5__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
/////////////////////////////////////////////////////////////////////////////
// CTest_FontDlg dialog
class CTest_FontDlg : public CDialog
{
// Construction
public:
CTest_FontDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CTest_FontDlg)
enum { IDD = IDD_TEST_FONT_DIALOG };
CString m_sUnicode;
CString m_sGBK;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTest_FontDlg)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
private:
int Char2Int(char* cCode);
private:
CFont m_font;
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CTest_FontDlg)
virtual BOOL OnInitDialog();
afx_msg void OnButton1();
afx_msg void OnButton2();
afx_msg void OnButton3();
afx_msg void OnButton4();
afx_msg void OnButton6();
afx_msg void OnButton5();
afx_msg void OnButton7();
afx_msg void OnButton8();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TEST_FONTDLG_H__37F4C623_1F27_436B_AC05_7449008EF2D5__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -