mainfrm.h
来自「《Visual C++ Bible》或者说是《Visual C++ 宝典》的对应」· C头文件 代码 · 共 60 行
H
60 行
// 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 + =
减小字号Ctrl + -
显示快捷键?