testview.h

来自「这是书上的代码」· C头文件 代码 · 共 74 行

H
74
字号
// TestView.h : interface of the CTestView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_TESTVIEW_H__F7A4BA2A_5588_4AFC_B19A_3EF992D24037__INCLUDED_)
#define AFX_TESTVIEW_H__F7A4BA2A_5588_4AFC_B19A_3EF992D24037__INCLUDED_

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

#include "TestDlg.h"
#include "exportRDLL.h"
#include "exportEDLL.h"

class CTestView : public CView
{
protected: // create from serialization only
	CTestView();
	DECLARE_DYNCREATE(CTestView)

// Attributes
public:
	CTestDoc* GetDocument();
	CTestDlg  * m_pDlg;
	CTestDlgInRDLL m_dlgInRDLL;
	CTestDlgInEDLL m_dlgInEDLL;
// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTestView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	//}}AFX_VIRTUAL

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

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CTestView)
	afx_msg void OnDialogInDocView();
	afx_msg void OnDialogInDocView1();
	afx_msg void OnDialogInRegularDLL();
	afx_msg void OnOnDialogInRegularDLL1();
	afx_msg void OnDialogExtensionDLL();
	afx_msg void OnOnDialogExtensionDLL1();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in TestView.cpp
inline CTestDoc* CTestView::GetDocument()
   { return (CTestDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_TESTVIEW_H__F7A4BA2A_5588_4AFC_B19A_3EF992D24037__INCLUDED_)

⌨️ 快捷键说明

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