📄 mainfrm.h
字号:
// mainfrm.h : interface of the DMainFrame class
//
/////////////////////////////////////////////////////////////////////////////
class DMainFrame : public CFrameWnd
{
public:
DMainFrame();
protected: // create from serialization only
DECLARE_DYNCREATE(DMainFrame)
// Attributes
public:
BOOL d_bCheckState; // Check state of Menu|This Item.
BOOL d_bEnableState; // Enable state of Menu|This Item.
CMenu * d_pmenuContext; // Right-mouse button menu.
// Operations
public:
void ShowContextMenu(CPoint& point);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(DMainFrame)
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~DMainFrame();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected: // control bar embedded members
CStatusBar m_wndStatusBar;
// Generated message map functions
protected:
//{{AFX_MSG(DMainFrame)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnPaint();
afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
afx_msg void OnContextMenu();
afx_msg void OnFrameMinimize();
afx_msg void OnFrameTop();
afx_msg void OnMenuAppend();
afx_msg void OnMenuCheck();
afx_msg void OnMenuEnable();
afx_msg void OnMenuThis();
afx_msg void OnUpdateMenuThis(CCmdUI* pCmdUI);
afx_msg void OnTitleBye();
afx_msg void OnTitleHello();
afx_msg void OnTitleQuery();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -