📄 mainfrm.h
字号:
// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MAINFRM_H__1E4CD94D_CB6E_4FAD_9DDE_3E2B96D11CE2__INCLUDED_)
#define AFX_MAINFRM_H__1E4CD94D_CB6E_4FAD_9DDE_3E2B96D11CE2__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define CMDIFrameWnd CBCGPMDIFrameWnd
#include "ResourceView.h"
#include "RouteManager.h"
#include "OutputView.h"
#include "FiberView.h"
class CMainFrame : public CMDIFrameWnd
{
DECLARE_DYNAMIC(CMainFrame)
public:
CMainFrame();
// Attributes
public:
bool IsFullScreen() const { return m_bFullScreen; }
protected:
bool m_bFullScreen;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMainFrame)
public:
virtual BOOL LoadFrame(UINT nIDResource, DWORD dwDefaultStyle = WS_OVERLAPPEDWINDOW | FWS_ADDTOTITLE, CWnd* pParentWnd = NULL, CCreateContext* pContext = NULL);
virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo);
//}}AFX_VIRTUAL
virtual BOOL OnShowPopupMenu (CBCGPPopupMenu* pMenuPopup);
// Implementation
public:
BOOL SetDefaultFont(CFont& Font, CWnd* pWnd /* = NULL */);
static CBCGPToolbarComboBoxButton* GetFindCombo();
virtual ~CMainFrame();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected: // control bar embedded members
CBCGPMenuBar m_wndMenuBar;
CBCGPStatusBar m_wndStatusBar;
CBCGPToolBar m_wndToolBar;
COutputViewBar m_wndOutputView;
CRouteManager m_wndResourceView2;
CFiberView m_wndClassView;
CResourceViewBar m_wndResourceView;
private:
WINDOWPLACEMENT m_wpPrev;
CRect m_rectFullScreenWindow;
CBCGPToolBar* m_pwndFullScreenBar;
// Generated message map functions
protected:
CFont m_statusBarFont;
//{{AFX_MSG(CMainFrame)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnViewOutput();
afx_msg void OnUpdateViewOutput(CCmdUI* pCmdUI);
afx_msg void OnWindowManager();
afx_msg void OnHelpKeyboardmap();
afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
afx_msg void OnViewClass();
afx_msg void OnUpdateViewClass(CCmdUI* pCmdUI);
afx_msg void OnViewResource();
afx_msg void OnUpdateViewResource(CCmdUI* pCmdUI);
afx_msg void OnViewRefresh();
afx_msg void OnToolsConnectToDatabase();
afx_msg void OnToolsDebugProcesses();
afx_msg void OnClose();
afx_msg void OnUpdateViewFullScreen(CCmdUI* pCmdUI);
afx_msg void OnViewFullScreen();
afx_msg void OnGetMinMaxInfo(MINMAXINFO* lpMMI);
//}}AFX_MSG
afx_msg void OnViewCustomize();
afx_msg LRESULT OnToolbarReset(WPARAM,LPARAM);
void OnToolsViewUserToolbar (UINT id);
void OnUpdateToolsViewUserToolbar (CCmdUI* pCmdUI);
afx_msg LRESULT OnHelpCustomizeToolbars(WPARAM wp, LPARAM lp);
LRESULT OnToolbarCreateNew(WPARAM wp,LPARAM lp);
DECLARE_MESSAGE_MAP()
BOOL CreateDockingBars ();
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MAINFRM_H__1E4CD94D_CB6E_4FAD_9DDE_3E2B96D11CE2__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -