MainFrm.h
上传用户:szled88
上传日期:2015-04-09
资源大小:43957k
文件大小:2k
- // MainFrm.h : interface of the CMainFrame class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_MAINFRM_H__BCFEE602_5709_48B9_AC44_2E9330095000__INCLUDED_)
- #define AFX_MAINFRM_H__BCFEE602_5709_48B9_AC44_2E9330095000__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #define CMainFrameBase CXTPMDIFrameWnd, CXTPOffice2007FrameHook
- class CMainFrame : public CMainFrameBase
- {
- DECLARE_DYNAMIC(CMainFrame)
- public:
- CMainFrame();
- // Attributes
- public:
- // Operations
- public:
- void SetRowCol(int nRow, int nCol);
- void UpdateMenuPopups(int nIndex);
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMainFrame)
- public:
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- virtual BOOL PreTranslateMessage(MSG* pMsg);
- //}}AFX_VIRTUAL
- virtual void OnSetPreviewMode(BOOL bPreview, CPrintPreviewState* pState);
- // Implementation
- public:
- virtual ~CMainFrame();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected: // control bar embedded members
- CXTPTabClientWnd m_MTIClientWnd;
- CXTPStatusBar m_wndStatusBar;
- // Generated message map functions
- protected:
- //{{AFX_MSG(CMainFrame)
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg LRESULT OnAppInstance(WPARAM wParam, LPARAM lParam);
- afx_msg void OnUpdateKeyIndicator(CCmdUI* pCmdUI);
- afx_msg void OnUpdateRowColIndicator(CCmdUI* pCmdUI);
- afx_msg void OnActivate(UINT nState, CWnd* pWndOther, BOOL bMinimized);
- //}}AFX_MSG
- afx_msg void OnCustomize();
- afx_msg void OnClose();
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_MAINFRM_H__BCFEE602_5709_48B9_AC44_2E9330095000__INCLUDED_)