2 // MainFrm.h : interface of the CMainFrame class
\r
6 #include "OutputWnd.h"
\r
7 #include "PropertiesWnd.h"
\r
9 class CMainFrame : public CFrameWndEx
\r
12 protected: // create from serialization only
\r
14 DECLARE_DYNCREATE(CMainFrame)
\r
15 virtual void OnUpdateFrameTitle(BOOL bAddToTitle)
\r
17 CFrameWndEx::OnUpdateFrameTitle( bAddToTitle);
\r
27 virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
\r
28 virtual BOOL LoadFrame(UINT nIDResource, DWORD dwDefaultStyle = WS_OVERLAPPEDWINDOW | FWS_ADDTOTITLE, CWnd* pParentWnd = NULL, CCreateContext* pContext = NULL);
\r
32 virtual ~CMainFrame();
\r
34 virtual void AssertValid() const;
\r
35 virtual void Dump(CDumpContext& dc) const;
\r
38 COutputWnd m_wndOutput;
\r
39 CPropertiesWnd m_wndProperties;
\r
40 protected: // control bar embedded members
\r
41 CMFCMenuBar m_wndMenuBar;
\r
42 CMFCToolBar m_wndToolBar;
\r
43 CMFCStatusBar m_wndStatusBar;
\r
44 CMFCToolBarImages m_UserImages;
\r
48 // Generated message map functions
\r
50 afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
\r
51 afx_msg void OnViewCustomize();
\r
52 afx_msg LRESULT OnToolbarCreateNew(WPARAM wp, LPARAM lp);
\r
53 afx_msg void OnApplicationLook(UINT id);
\r
54 afx_msg void OnUpdateApplicationLook(CCmdUI* pCmdUI);
\r
55 DECLARE_MESSAGE_MAP()
\r
57 BOOL CreateDockingWindows();
\r
58 void SetDockingWindowIcons(BOOL bHiColorIcons);
\r