shutdowndlg.h
来自「一个自动关机程序」· C头文件 代码 · 共 67 行
H
67 行
// shutdownDlg.h : header file
//
#if !defined(AFX_SHUTDOWNDLG_H__C110C5F6_E681_49D2_BC6B_46389A815245__INCLUDED_)
#define AFX_SHUTDOWNDLG_H__C110C5F6_E681_49D2_BC6B_46389A815245__INCLUDED_
#define WM_MYMESSAGE (WM_APP+100)
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CShutdownDlg dialog
class CShutdownDlg : public CDialog
{
// Construction
public:
CShutdownDlg(CWnd* pParent = NULL); // standard constructor
void ShowTrayIcon();
// Dialog Data
//{{AFX_DATA(CShutdownDlg)
enum { IDD = IDD_SHUTDOWN_DIALOG };
UINT m_uYear;
UINT m_uMonth;
UINT m_uDay;
UINT m_uHour;
UINT m_uMinute;
UINT m_uSecond;
//CTime SetTime;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CShutdownDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX);
virtual void OnOK();// DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CShutdownDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnButton1();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnButton2();
afx_msg void OnMYMESSAGE(WPARAM wParam,LPARAM lParam);
afx_msg void OnDestroy();
afx_msg void OnAppAbout();
afx_msg void OnAppRestore();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SHUTDOWNDLG_H__C110C5F6_E681_49D2_BC6B_46389A815245__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?