www.pudn.com > RMS2000_C.rar > CurveView.h


#if !defined(AFX_CURVEVIEW_H__C3A9C5C1_25A2_11D4_8AB3_D8675D599211__INCLUDED_) 
#define AFX_CURVEVIEW_H__C3A9C5C1_25A2_11D4_8AB3_D8675D599211__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// CurveView.h : header file 
// 
 
#include "FolderFrame.h" 
  
///////////////////////////////////////////////////////////////////////////// 
// CCurveView view 
 
class CCurveDoc; 
 
class CCurveView : public CFolderView 
{ 
protected: 
	CCurveView();           // protected constructor used by dynamic creation 
	DECLARE_DYNCREATE(CCurveView) 
 
// Attributes 
public: 
	CCurveDoc* GetDocument(); 
  
// Operations 
public: 
	enum { PAGE_LINE,PAGE_TAB,PAGE_SUBVAL }; 
	int	m_iPage;			// which page selected 
	virtual void OnChangedFolder(int iPage); 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CCurveView) 
	protected: 
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view 
	virtual void OnInitialUpdate();     // first time after construct 
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo); 
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo); 
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo); 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	virtual ~CCurveView(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
	// Generated message map functions 
	//{{AFX_MSG(CCurveView) 
	afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags); 
	afx_msg void OnWindowNew(); 
	afx_msg void OnFileSave(); 
	afx_msg void OnFileSaveAs(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
#ifndef _DEBUG  // debug version in MhcurveView.cpp 
inline CCurveDoc* CCurveView::GetDocument() 
   { return (CCurveDoc*)m_pDocument; } 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_CURVEVIEW_H__C3A9C5C1_25A2_11D4_8AB3_D8675D599211__INCLUDED_)