fonttestdlg.h

来自「eVC開發環境」· C头文件 代码 · 共 66 行

H
66
字号
// FontTestDlg.h : header file
//

#if !defined(AFX_FONTTESTDLG_H__C8398CDE_29BA_4BB0_803F_36C4BB5729C0__INCLUDED_)
#define AFX_FONTTESTDLG_H__C8398CDE_29BA_4BB0_803F_36C4BB5729C0__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

#include "DDraw.h"

/////////////////////////////////////////////////////////////////////////////
// CFontTestDlg dialog

class CFontTestDlg : public CDialog
{
// Construction
public:
	void DrawRGB();
	void Draw();
	BOOL DDInit();
	CFontTestDlg(CWnd* pParent = NULL);	// standard constructor



	CFont					m_font32;
	CFont					m_font16;
	CFont					m_font8;

	LPDIRECTDRAW            m_lpDD;          // DirectDraw object.
	LPDIRECTDRAWSURFACE     m_lpDDPrimarySurface;  // DirectDraw primary surface.

	int		m_nRGB;

// Dialog Data
	//{{AFX_DATA(CFontTestDlg)
	enum { IDD = IDD_FONTTEST_DIALOG };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CFontTestDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CFontTestDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
//	afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_FONTTESTDLG_H__C8398CDE_29BA_4BB0_803F_36C4BB5729C0__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?