MainFrm.h
上传用户:ywlong9188
上传日期:2022-05-31
资源大小:2656k
文件大小:1k
- // MainFrm.h : interface of the CMainFrame class
- //
- /////////////////////////////////////////////////////////////////////////////
- class CMainFrame : public CFrameWnd
- {
- protected: // create from serialization only
- afx_msg void OnUpdateDate(CCmdUI* pCmdUI);
- CMainFrame();
- DECLARE_DYNCREATE(CMainFrame);
- // Attributes
- protected:
- CPaletteBar m_wndPaletteBar;
- public:
- int m_nDatePaneNo;
- BOOL CreatePaletteBar();
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMainFrame)
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- virtual void ActivateFrame(int nCmdShow=1);
- //}}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 OnViewPaletteBar();
- afx_msg void OnUpdateViewPaletteBar(CCmdUI* pCmdUI);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- BOOL InitStatusBar(UINT *pIndicators, int nSize, int nSeconds);
- };
- /////////////////////////////////////////////////////////////////////////////