📄 formdlg.h
字号:
#ifndef __FORMDLG_H__
#define __FORMDLG_H__
class CFormDlg : public CDialog
{
public:
//ID
enum { IDD = IDD_MAINFORM };
//constructor and destructor
CFormDlg();
virtual ~CFormDlg();
//functions
void AddAboutMenu();
protected:
virtual void SetTemplateID();
//dialog procedure
virtual LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
//message
virtual bool OnInitDialog(HWND hwnd, HWND hwndFocus, LPARAM lParam);
virtual void OnCommand(HWND hwnd, int id, HWND hwndCtl, UINT codeNotify);
virtual void OnCancel(HWND hwnd, HWND, UINT);
virtual void OnOK(HWND hwnd, HWND, UINT);
void OnSysCommand(HWND hwnd, UINT cmd, int x, int y);
void OnTimer(HWND hwnd, UINT id);
void OnInput(HWND hwnd, HWND, UINT);
private:
HICON m_hIcon;
};
extern CFormDlg g_formDlg;
#endif //__FORMDLG_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -