www.pudn.com > 个人考勤软件开发实例配套代码.zip > childview.h


// ChildView.h : interface of the CChildView class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_CHILDVIEW_H__5C3F89A8_932E_11D3_8420_FC56F1C91E86__INCLUDED_) 
#define AFX_CHILDVIEW_H__5C3F89A8_932E_11D3_8420_FC56F1C91E86__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
#include "WrapperView.h" 
 
///////////////////////////////////////////////////////////////////////////// 
// CChildView window 
 
class CChildView : public CWrapperView 
{ 
	DECLARE_DYNCREATE(CChildView) 
 
// Construction 
public: 
	CChildView(); 
 
// Attributes 
public: 
 
// Operations 
public: 
 
	void OnFilePrint(); 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CChildView) 
	public: 
	virtual void OnPrepareDC(CDC* pDC, CPrintInfo* pInfo = NULL); 
	protected: 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	virtual void OnDraw(CDC* pDC); 
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo); 
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	virtual ~CChildView(); 
 
	// Generated message map functions 
protected: 
	//{{AFX_MSG(CChildView) 
	afx_msg void OnPaint(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
private: 
	short int m_nCurPage; 
	short int m_nMaxPage; 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_CHILDVIEW_H__5C3F89A8_932E_11D3_8420_FC56F1C91E86__INCLUDED_)