fontsheet.h

来自「精通MFC原书的所有代码打包成5个文件(由于一共太大,多次上传都失败了),这里是」· C头文件 代码 · 共 55 行

H
55
字号
#if !defined(AFX_FONTSHEET_H__5F9E0C27_778F_433E_9012_111A8BDD41AA__INCLUDED_)
#define AFX_FONTSHEET_H__5F9E0C27_778F_433E_9012_111A8BDD41AA__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// FontSheet.h : header file
//
#include "Page1Font.h"
#include "Page2Effect.h"
#include "Page3Size.h"
/////////////////////////////////////////////////////////////////////////////
// CFontSheet

class CFontSheet : public CPropertySheet
{
	DECLARE_DYNAMIC(CFontSheet)

// Construction
public:
	CFontSheet(UINT nIDCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
	CFontSheet(LPCTSTR pszCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);

// Attributes
public:
	CPage1Font		m_Font;
	CPage2Effect	m_Effect;
	CPage3Size		m_Size;

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CFontSheet)
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CFontSheet();

	// Generated message map functions
protected:
	//{{AFX_MSG(CFontSheet)
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_FONTSHEET_H__5F9E0C27_778F_433E_9012_111A8BDD41AA__INCLUDED_)

⌨️ 快捷键说明

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