www.pudn.com > vcppnet2.rar > ChildFrm.h


// ChildFrm.h : interface of the CChildFrame class 
// 
 
 
#pragma once 
 
#include "ChildView.h" 
 
class CChildFrame : public CMDIChildWnd 
{ 
	DECLARE_DYNCREATE(CChildFrame) 
public: 
	CChildFrame(); 
 
// Attributes 
public: 
 
// Operations 
public: 
 
// Overrides 
	public: 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo); 
 
// Implementation 
public: 
	// view for the client area of the frame. 
	CChildView m_wndView; 
	virtual ~CChildFrame(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
// Generated message map functions 
protected: 
	afx_msg void OnFileClose(); 
	afx_msg void OnSetFocus(CWnd* pOldWnd); 
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 
	DECLARE_MESSAGE_MAP() 
};