MainFrm.h
上传用户:kssdz899
上传日期:2007-01-08
资源大小:79k
文件大小:2k
- // MainFrm.h : interface of the CMainFrame class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_MAINFRM_H__F4BEBDBE_CCC8_11D3_A836_00104BA829E5__INCLUDED_)
- #define AFX_MAINFRM_H__F4BEBDBE_CCC8_11D3_A836_00104BA829E5__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- ///////////////
- // Forward declaration of caption class
- //
- class CMultiLineCaption;
- class CMainFrame : public CMDIFrameWnd
- {
- DECLARE_DYNAMIC(CMainFrame)
- public:
- CMainFrame();
- // Attributes
- public:
- // 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
- 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 OnEditSetTitle();
- afx_msg void OnEditSetActiveFont();
- afx_msg void OnEditSetBmpCaption();
- afx_msg void OnEditSetGradientCaption();
- afx_msg void OnEditSetDefaultBackground();
- afx_msg void OnEditSetDefaultActiveColors();
- afx_msg void OnEditSetActiveColors();
- afx_msg void OnEditSetDefaultInactiveColors();
- afx_msg void OnEditSetInactiveColors();
- afx_msg void OnEditSetDefaultFonts();
- afx_msg void OnEditCaptionMultiline();
- afx_msg void OnEditCaptionSingleline();
- afx_msg void OnEditSetInactiveFont();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- ////////////////
- // Convenient helper that returns the caption object of the
- // active MDI child frame
- //
- CMultiLineCaption& GetActiveMDICaption();
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_MAINFRM_H__F4BEBDBE_CCC8_11D3_A836_00104BA829E5__INCLUDED_)