MainFrm.h
上传用户:szcysw
上传日期:2013-03-11
资源大小:6752k
文件大小:2k
- // MainFrm.h : interface of the CMainFrame class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_MAINFRM_H__33B79F58_355D_11D3_9922_00500487D199__INCLUDED_)
- #define AFX_MAINFRM_H__33B79F58_355D_11D3_9922_00500487D199__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
-
- #define CFrameWnd CCJFrameWnd
- #define CToolBar CCJToolBar
- #define CToolBarCtrl CCJToolBarCtrl
- class CTaxExpertView;
- class CMainFrame : public CFrameWnd
- {
- protected:
- CMainFrame();
- DECLARE_DYNCREATE(CMainFrame)
- public:
- //关键词输入框
- CCJFlatComboBox* m_pComboBox;
- BOOL m_bPreview;
- //枚举出六个快捷方式等常量
- enum { FOLDER_0, FOLDER_1, FOLDER_2, FOLDER_3, FOLDER_4, FOLDER_5,FOLDER_6};
- enum { CMD_00, CMD_01, CMD_02, CMD_03, CMD_04, CMD_05, CMD_06, CMD_07 };
- // 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:
- void UserDefine();
- void update();
- void InputIntoWord();
- void PrintDoc();
- void OnComboTextChanged();
- CTaxExpertView* GetMainView();
- virtual ~CMainFrame();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- CStatusBar m_wndStatusBar;
- CToolBar m_wndToolBar;
- CGfxSplitterWnd m_wndSplitter;
- //快捷方式列表框
- CGfxOutBarCtrl m_wndOutlookBar;
- //快捷方式列表框对应的图像列表控件
- CImageList m_ImageLarge, m_ImageSmall;
- // Generated message map functions
- protected:
- //{{AFX_MSG(CMainFrame)
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg void OnPreviewPane();
- afx_msg void InteractiveWithViews(WPARAM FromWhere,LPARAM detail);
- afx_msg void OnUpdatePreviewPane(CCmdUI* pCmdUI);
- //}}AFX_MSG
- afx_msg void OnGfxLargeicon();
- afx_msg void OnDestroy();
- afx_msg void OnUpdateGfxLargeicon(CCmdUI* pCmdUI);
- afx_msg void OnGfxSmallicon();
- afx_msg void OnUpdateGfxSmallicon(CCmdUI* pCmdUI);
- afx_msg long OnOutbarNotify(WPARAM wParam, LPARAM lParam);
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_MAINFRM_H__33B79F58_355D_11D3_9922_00500487D199__INCLUDED_)