poweroffdlg.h
来自「实现自动关机」· C头文件 代码 · 共 59 行
H
59 行
// PowerOffDlg.h : header file
//
#if !defined(AFX_POWEROFFDLG_H__9FA1FEE8_B30F_4EC6_8AF1_7C46A284398A__INCLUDED_)
#define AFX_POWEROFFDLG_H__9FA1FEE8_B30F_4EC6_8AF1_7C46A284398A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CPowerOffDlg dialog
class CPowerOffDlg : public CDialog
{
// Construction
public:
void RegisterServiceProcess();
void OnMini();
void PowerOff();
CPowerOffDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CPowerOffDlg)
enum { IDD = IDD_POWEROFF_DIALOG };
CString m_Password;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPowerOffDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CPowerOffDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnClose();
afx_msg void OnOk();
afx_msg void OnTimer(UINT nIDEvent);
//}}AFX_MSG
afx_msg LRESULT OnNc(WPARAM wParam,LPARAM lParam);
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_POWEROFFDLG_H__9FA1FEE8_B30F_4EC6_8AF1_7C46A284398A__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?