www.pudn.com > PropertyPage.zip > PropertyPageView.h


// PropertyPageView.h : interface of the CPropertyPageView class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_PROPERTYPAGEVIEW_H__A2A1D2B6_FF10_4820_A387_8A84CFFDA009__INCLUDED_) 
#define AFX_PROPERTYPAGEVIEW_H__A2A1D2B6_FF10_4820_A387_8A84CFFDA009__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
#include "sheet.h" 
 
class CPropertyPageView : public CView 
{ 
protected: // create from serialization only 
	CPropertyPageView(); 
	DECLARE_DYNCREATE(CPropertyPageView) 
 
// Attributes 
public: 
	CPropertyPageDoc* GetDocument(); 
 
// Operations 
public: 
	CString	m_text; 
	int		m_x; 
	int		m_y; 
	int		m_ncolor; 
	int		m_nsize; 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CPropertyPageView) 
	public: 
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	protected: 
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo); 
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo); 
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	virtual ~CPropertyPageView(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CPropertyPageView) 
	afx_msg void OnSheet(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
#ifndef _DEBUG  // debug version in PropertyPageView.cpp 
inline CPropertyPageDoc* CPropertyPageView::GetDocument() 
   { return (CPropertyPageDoc*)m_pDocument; } 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_PROPERTYPAGEVIEW_H__A2A1D2B6_FF10_4820_A387_8A84CFFDA009__INCLUDED_)