rebootdlg.h

来自「快速重起、关机和注销电脑的源代码。非常精炼」· C头文件 代码 · 共 56 行

H
56
字号
// rebootDlg.h : header file
//

#if !defined(AFX_REBOOTDLG_H__B9D272E7_88B6_11D5_8501_0010A4B8EF8A__INCLUDED_)
#define AFX_REBOOTDLG_H__B9D272E7_88B6_11D5_8501_0010A4B8EF8A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CRebootDlg dialog

class CRebootDlg : public CDialog
{
// Construction
public:
	CRebootDlg(CWnd* pParent = NULL);	// standard constructor

	int IsHow;

// Dialog Data
	//{{AFX_DATA(CRebootDlg)
	enum { IDD = IDD_REBOOT_DIALOG };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CRebootDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CRebootDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	virtual void OnOK();
	afx_msg void OnLogoff();
	afx_msg void OnReboot();
	afx_msg void OnShutdown();
	afx_msg void OnBlack();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_REBOOTDLG_H__B9D272E7_88B6_11D5_8501_0010A4B8EF8A__INCLUDED_)

⌨️ 快捷键说明

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