www.pudn.com > FEMS.rar > FEMSView.h


// FEMSView.h : interface of the CFEMSView class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_FEMSVIEW_H__BDEB2E46_2509_4BE6_8E39_6EB413000465__INCLUDED_) 
#define AFX_FEMSVIEW_H__BDEB2E46_2509_4BE6_8E39_6EB413000465__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
#include "GridCtrl.h" 
#include "OwnWnd.h" 
 
 
class CFEMSView : public CView 
{ 
protected: // create from serialization only 
	CFEMSView(); 
	DECLARE_DYNCREATE(CFEMSView) 
 
// Attributes 
public: 
	CFEMSDoc* GetDocument(); 
		enum { IDD = IDD_DIALOG1 }; 
	COwnWnd * m_ownwnd; 
	CGridCtrl* m_pGridCtrl; 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CFEMSView) 
	public: 
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	virtual BOOL DestroyWindow(); 
	virtual void OnInitialUpdate(); 
	virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo); 
	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 ~CFEMSView(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CFEMSView) 
		// NOTE - the ClassWizard will add and remove member functions here. 
		//    DO NOT EDIT what you see in these blocks of generated code ! 
	//}}AFX_MSG 
	afx_msg void OnStyleChanged(int nStyleType, LPSTYLESTRUCT lpStyleStruct); 
	afx_msg void OnSize(UINT nType, int cx, int cy); 
	DECLARE_MESSAGE_MAP() 
}; 
 
#ifndef _DEBUG  // debug version in FEMSView.cpp 
inline CFEMSDoc* CFEMSView::GetDocument() 
   { return (CFEMSDoc*)m_pDocument; } 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_FEMSVIEW_H__BDEB2E46_2509_4BE6_8E39_6EB413000465__INCLUDED_)