MainFrm.h
上传用户:szcysw
上传日期:2013-03-11
资源大小:6752k
文件大小:2k
- // MainFrm.h : interface of the CMainFrame class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_MAINFRM_H__FCB54CDE_1391_4A20_8F96_C9BDFD7F13FB__INCLUDED_)
- #define AFX_MAINFRM_H__FCB54CDE_1391_4A20_8F96_C9BDFD7F13FB__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "left.h"
- #include "right.h"
- //使用CJLibrary风格的窗口框
- #define CFrameWnd CCJFrameWnd
- class CMainFrame : public CFrameWnd
- {
- protected:
- CMainFrame();
- DECLARE_DYNCREATE(CMainFrame)
- protected:
- CSplitterWnd m_wndSplitter;
- public:
- //获取运行视图
- CLeft* GetLeftPane();
- CRight* GetRightPane();
- //ReBar风格的工具条
- CReBar m_wndReBar;
- //地址栏
- CComboBox m_wndAddress;
- //AVI播放器
- CAnimateCtrl m_wndAnimate;
- virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- virtual ~CMainFrame();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- CStatusBar m_wndStatusBar;
- //使用CJLibrary风格的工具条
- CCJToolBar m_wndToolBar;
- protected:
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- //自定义工具条的按钮响应函数
- afx_msg void OnBack();
- afx_msg void OnForward();
- afx_msg void OnUp();
- afx_msg void OnCut();
- afx_msg void OnCopy();
- afx_msg void OnPaste();
- afx_msg void OnUndo();
- afx_msg void OnDelete();
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_MAINFRM_H__FCB54CDE_1391_4A20_8F96_C9BDFD7F13FB__INCLUDED_)