📄 custommenudlg.h
字号:
#ifndef AFX_CUSTOMMENUDLG_H_
#define AFX_CUSTOMMENUDLG_H_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CCustomMenuDlg : public CDialog
{
public:
CCustomMenuDlg(CWnd* pParent = NULL);
//{{AFX_DATA(CCustomMenuDlg)
enum { IDD = IDD_CUSTOMMENU_DIALOG };
CButton m_checkIcon;
CButton m_checkBitmap;
//}}AFX_DATA
//{{AFX_VIRTUAL(CCustomMenuDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX);
//}}AFX_VIRTUAL
protected:
HICON m_hIcon;
//{{AFX_MSG(CCustomMenuDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnCheckBitmap();
afx_msg void OnCheckIcon();
afx_msg void OnButtonTest();
//}}AFX_MSG
afx_msg void OnMenuClick(UINT nID);
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -