test_fontdlg.h

来自「测试指定GBK码或者UNICODE码是否存在系统字库中」· C头文件 代码 · 共 65 行

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