preview.h

来自「Visual C++ 的学习资料一」· C头文件 代码 · 共 41 行

H
41
字号
// PreView.h: interface for the CPreView class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_PREVIEW_H__CCED8D74_5FC0_4F6D_9A9F_57FFFF14C3BA__INCLUDED_)
#define AFX_PREVIEW_H__CCED8D74_5FC0_4F6D_9A9F_57FFFF14C3BA__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <AFXPRIV.h>
#include "Examle1View.h"
#include "CustomButton.h"
class CPreView : public CPreviewView  
{
public:
	DECLARE_DYNCREATE(CPreView)
	CPreView();
	virtual ~CPreView();

	CExamle1View* m_pPrintView;

	CExamle1View * m_pOrigView;

	CPrintPreviewState* m_pPreviewState;

	CCustomButton m_print,m_prior,m_next,m_about,m_close;

	// Overrides
public:
	//{{AFX_MSG( CPreView)
	afx_msg void OnPreviewClose();
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnAppAbout();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};

#endif // !defined(AFX_PREVIEW_H__CCED8D74_5FC0_4F6D_9A9F_57FFFF14C3BA__INCLUDED_)

⌨️ 快捷键说明

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