📄 mainfrm.h
字号:
// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MAINFRM_H__7CCBB5AB_F8FB_11D5_BE71_0080C8ED41D4__INCLUDED_)
#define AFX_MAINFRM_H__7CCBB5AB_F8FB_11D5_BE71_0080C8ED41D4__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
//类名:CMainFrame
//功能:主框架类的构造
//作者:徐景周(jingzhou_xu@163.net)
//组织:未来工作室(Future Studio)
//日期:2001.12.1
#include "OXTabClientWnd.h" //加入TAB形式的客户区显示方式
#include ".\OffMenu\MDIFrmEx.h" //加入Office2000菜单显示风格
#include ".\OffMenu\ToolBarEx.h" //加入Office2000菜单显示风格
class CMainFrame : public CMDIFrameEx //改变框架继承类,来显示Office2000菜单风格
{
DECLARE_DYNAMIC(CMainFrame)
public:
CMainFrame();
// Attributes
public:
COXTabClientWnd m_MDIClientWnd; //定义客户区TAB形式显示的变量
// 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;
CToolbarEx m_wndToolBar; //改变工具条类,来显示Office200菜单风格
// Generated message map functions
protected:
//{{AFX_MSG(CMainFrame)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MAINFRM_H__7CCBB5AB_F8FB_11D5_BE71_0080C8ED41D4__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -