c++系统开发实例精粹内附的80例源代码 环境:windows2000,c++6.0

源代码在线查看: view.h

软件大小: 21089 K
上传用户: likefunv
关键词: windows 2000 6.0
下载地址: 免注册下载 普通下载 VIP

相关代码

				// $$root$$View.h : interface of the C$$Safe_root$$View class
				//
				/////////////////////////////////////////////////////////////////////////////
				
				#if !defined(AFX_DEMO_DEVSTUDIOVIEW_H__BBB6444E_ACDD_11D2_AB9F_608556C10000__INCLUDED_)
				#define AFX_DEMO_DEVSTUDIOVIEW_H__BBB6444E_ACDD_11D2_AB9F_608556C10000__INCLUDED_
				
				#if _MSC_VER > 1000
				#pragma once
				#endif // _MSC_VER > 1000
				
				
				class C$$Safe_root$$View : public CView
				{
				protected: // create from serialization only
					C$$Safe_root$$View();
					DECLARE_DYNCREATE(C$$Safe_root$$View)
				
				// Attributes
				public:
					C$$Safe_root$$Doc* GetDocument();
				
				// Operations
				public:
				
				// Overrides
					// ClassWizard generated virtual function overrides
					//{{AFX_VIRTUAL(C$$Safe_root$$View)
					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 ~C$$Safe_root$$View();
				#ifdef _DEBUG
					virtual void AssertValid() const;
					virtual void Dump(CDumpContext& dc) const;
				#endif
				
				protected:
				
				// Generated message map functions
				protected:
					//{{AFX_MSG(C$$Safe_root$$View)
					afx_msg void OnSize(UINT nType, int cx, int cy);
					//}}AFX_MSG
					DECLARE_MESSAGE_MAP()
				};
				
				#ifndef _DEBUG  // debug version in $$root$$View.cpp
				inline C$$Safe_root$$Doc* C$$Safe_root$$View::GetDocument()
				   { return (C$$Safe_root$$Doc*)m_pDocument; }
				#endif
				
				/////////////////////////////////////////////////////////////////////////////
				
				//{{AFX_INSERT_LOCATION}}
				// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
				
				#endif // !defined(AFX_DEMO_DEVSTUDIOVIEW_H__BBB6444E_ACDD_11D2_AB9F_608556C10000__INCLUDED_)
							

相关资源