www.pudn.com > Visual C++课程设计案例精编--画图1 .rar > MainFrm.h


// MainFrm.h : interface of the CMainFrame class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_MAINFRM_H__8316A57B_527F_11D3_860D_9D4F82E55944__INCLUDED_) 
#define AFX_MAINFRM_H__8316A57B_527F_11D3_860D_9D4F82E55944__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
class CMdiClient; 
 
class CMainFrame : public CMDIFrameWnd 
{ 
	DECLARE_DYNAMIC(CMainFrame) 
public: 
	CMainFrame(); 
 
// Attributes 
public: 
	CMdiClient *m_pmdiclient; 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CMainFrame) 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	virtual ~CMainFrame(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
public:  // control bar embedded members 
	CStatusBar  m_wndStatusBar; 
	CToolBar    m_wndToolBar; 
public: 
	CDialogBar  m_wndMyDialogBar; 
	CToolBar    m_DrawToolBar; 
	CToolBar    m_ModifyToolBar; 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CMainFrame) 
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 
	afx_msg void OnFileOpen(); 
	afx_msg void OnViewDrawbar(); 
	afx_msg void OnUpdateViewDrawbar(CCmdUI* pCmdUI); 
	afx_msg void OnCalc(); 
	afx_msg void OnUpdateCalc(CCmdUI* pCmdUI); 
	afx_msg void OnUpdateGame(CCmdUI* pCmdUI); 
	afx_msg void OnGame(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_MAINFRM_H__8316A57B_527F_11D3_860D_9D4F82E55944__INCLUDED_)