www.pudn.com > 单文档多视图.rar > MainFrm.h
// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MAINFRM_H__AB5584E8_BD44_11D2_A565_00105AD6E305__INCLUDED_)
#define AFX_MAINFRM_H__AB5584E8_BD44_11D2_A565_00105AD6E305__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
class CMainFrame : public CSDIFrameWnd
{
protected: // create from serialization only
CMainFrame();
DECLARE_DYNCREATE(CMainFrame)
// Attributes
protected:
CSplitterWnd m_wndSplitter[2];
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMainFrame)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
//}}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;
// Generated message map functions
protected:
//{{AFX_MSG(CMainFrame)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnViewEditView();
afx_msg void OnViewSplitter1TreeView();
afx_msg void OnViewSplitter1ListView();
afx_msg void OnViewSplitter2ViewView();
afx_msg void OnViewSplitter2ScrollView();
afx_msg void OnViewRichEditView();
afx_msg void OnViewFormView();
afx_msg void OnUpdateViewEditView(CCmdUI* pCmdUI);
afx_msg void OnUpdateViewFormView(CCmdUI* pCmdUI);
afx_msg void OnUpdateViewRichEditView(CCmdUI* pCmdUI);
afx_msg void OnUpdateViewSplitter1ListView(CCmdUI* pCmdUI);
afx_msg void OnUpdateViewSplitter1TreeView(CCmdUI* pCmdUI);
afx_msg void OnUpdateViewSplitter2ScrollView(CCmdUI* pCmdUI);
afx_msg void OnUpdateViewSplitter2ViewView(CCmdUI* pCmdUI);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MAINFRM_H__AB5584E8_BD44_11D2_A565_00105AD6E305__INCLUDED_)