preview.h

来自「MFC程序开发参考大全 【明日科技】宋坤 刘锐宁 李伟明 【丛 书 名】」· C头文件 代码 · 共 55 行

H
55
字号
#if !defined(AFX_PREVIEW_H__76960749_B118_46C4_8157_26660E8D8689__INCLUDED_)
#define AFX_PREVIEW_H__76960749_B118_46C4_8157_26660E8D8689__INCLUDED_
#include "afxpriv.h"
#include "PreviewToolView.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PreView.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CPreView view
class CPreviewToolView;
class CPreView : public CPreviewView
{
protected:
	CPreView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CPreView)

// Attributes
public:
	CPreviewToolView* m_pOrigView;
	CPrintPreviewState* m_pPreviewState;
	CButton m_Print,m_Before,m_Next,m_Close;
// Operations
public:

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

// Implementation
protected:
	virtual ~CPreView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
protected:
	//{{AFX_MSG(CPreView)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_PREVIEW_H__76960749_B118_46C4_8157_26660E8D8689__INCLUDED_)

⌨️ 快捷键说明

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