www.pudn.com > 单文档多视图.rar > View7.h


// View7.h : interface of the C7View class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_VIEW6_H__526BCCF0_BDC1_11D2_A565_00105AD6E305__INCLUDED_) 
#define AFX_VIEW6_H__526BCCF0_BDC1_11D2_A565_00105AD6E305__INCLUDED_ 
 
#if _MSC_VER >= 1000 
#pragma once 
#endif // _MSC_VER >= 1000 
 
class C7View : public CFormView 
{ 
protected: // create from serialization only 
	C7View(); 
	DECLARE_DYNCREATE(C7View) 
 
public: 
	//{{AFX_DATA(C7View) 
	enum { IDD = IDD_DIALOG_FORM }; 
	CString	m_strEdit1; 
	//}}AFX_DATA 
 
// Attributes 
public: 
	CSdiMultiDoc* GetDocument(); 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(C7View) 
	public: 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	virtual void OnInitialUpdate(); 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	virtual ~C7View(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(C7View) 
	virtual BOOL OnInitDialog(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
#ifndef _DEBUG  // debug version in View7.cpp 
inline CSdiMultiDoc* C7View::GetDocument() 
   { return (CSdiMultiDoc*)m_pDocument; } 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Developer Studio will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_VIEW6_H__526BCCF0_BDC1_11D2_A565_00105AD6E305__INCLUDED_)