aboutdlg.h

来自「使非MFC窗口程序的窗口回调过程成为C++类的成员函数。」· C头文件 代码 · 共 27 行

H
27
字号
#ifndef __ABOUTDLG_H__
#define __ABOUTDLG_H__


class CAboutDlg : public CDialog
{
public:
	//ID
	enum { IDD = IDD_ABOUTBOX };

	//constructor and destructor
	CAboutDlg();
	virtual ~CAboutDlg();

	//functions

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);
};


#endif //__ABOUTDLG_H__

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?