📄 mainfrm.h
字号:
////////////////////////////////////////////////////////////////
// MSDN Magazine -- October 2001
// If this code works, it was written by Paul DiLascia.
// If not, I don't know who wrote it.
// Compiles with Visual C++ 6.0 for Windows 98 and probably Windows 2000 too.
// Set tabsize = 3 in your editor.
//
/////////////////
// Main frame window has menu manager, flatbar, status bar
//
class CMainFrame : public CFrameWnd {
public:
CMainFrame();
~CMainFrame();
protected:
DECLARE_DYNCREATE(CMainFrame)
CStatusBar m_wndStatusBar; // standard status bar
CToolBar m_wndToolBar; // if using toolbar
// overrides
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
// message handlers
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnToolbarDropDown(NMHDR* pnmh, LRESULT* plRes);
DECLARE_MESSAGE_MAP()
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -