www.pudn.com > 3DEDITOR.rar > MAINFRM.H
// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MAINFRM_H__58081F4C_70A2_45D3_BE1A_3C63C4653BFD__INCLUDED_)
#define AFX_MAINFRM_H__58081F4C_70A2_45D3_BE1A_3C63C4653BFD__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CMainFrame : public CMDIFrameWnd
{
DECLARE_DYNAMIC(CMainFrame)
public:
CMainFrame();
// Attributes
public:
CMenu m_OrgMenu;
bool m_bFullScreenMode;
bool m_bStatusBarWasVisible,m_bToolBarWasVisible;
CRect m_mainRect;
bool m_bChildMax;
// Operations
public:
void FullScreenModeOn();
void FullScreenModeOff();
// 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
protected: // control bar embedded members
CStatusBar m_wndStatusBar;
CToolBar m_wndToolBar;
CToolBar * m_pToolBar_impexp;
CToolBar * m_pToolBar_light;
CToolBar * m_pToolBar_selectmode;
CToolBar * m_pToolBar_viewmode;
CToolBar * m_pToolBar_capture;
// Generated message map functions
protected:
//{{AFX_MSG(CMainFrame)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnViewTbimpexp();
afx_msg void OnUpdateViewTbimpexp(CCmdUI* pCmdUI);
afx_msg void OnViewTblight();
afx_msg void OnUpdateViewTblight(CCmdUI* pCmdUI);
afx_msg void OnViewTbselect();
afx_msg void OnUpdateViewTbselect(CCmdUI* pCmdUI);
afx_msg void OnViewTbview();
afx_msg void OnUpdateViewTbview(CCmdUI* pCmdUI);
afx_msg void OnDestroy();
afx_msg void OnViewFullScreen();
afx_msg void OnUpdateViewFullScreen(CCmdUI* pCmdUI);
afx_msg void OnViewTbcapture();
afx_msg void OnUpdateViewTbcapture(CCmdUI* pCmdUI);
//}}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__58081F4C_70A2_45D3_BE1A_3C63C4653BFD__INCLUDED_)