📄 shutdowndlg.h
字号:
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -