📄 alarmdlg.h
字号:
// AlarmDlg.h : header file
//
#if !defined(AFX_ALARMDLG_H__DEBB0EDD_73A9_4E79_B91D_B77BD5382318__INCLUDED_)
#define AFX_ALARMDLG_H__DEBB0EDD_73A9_4E79_B91D_B77BD5382318__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "infostatic.h"
#include "optiondlg.h"
#include "mymessage.h"
#include "MessageDisplay.h"
/////////////////////////////////////////////////////////////////////////////
// CAlarmDlg dialog
class CAlarmDlg : public CDialog
{
// Construction
public:
void ReadModeInfoFromDB();
void ShutDownComputer();
void ReadPlanFromDataBase();
void ReadTimeInfoFromDataBase();
void DisPlayTime(CClientDC pDC,CRect rect);
CAlarmDlg(CWnd* pParent = NULL); // standard constructor
CMyMessage message;
CDaoDatabase db;
CMessageDisplay MessageDisplay;
// Dialog Data
//{{AFX_DATA(CAlarmDlg)
enum { IDD = IDD_ALARM_DIALOG };
CInfoStatic m_ctlStatic;
NOTIFYICONDATA NotifyIconData;
BOOL bWindowStatus;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CAlarmDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CAlarmDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg UINT OnNcHitTest(CPoint point);
afx_msg LRESULT OnNotifyIcon(WPARAM wParam, LPARAM lParam);
afx_msg void OnDestroy();
afx_msg void OnExit();
afx_msg void OnSetup();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnAbout();
afx_msg void OnSetTime();
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
afx_msg void OnShowHideWindow();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ALARMDLG_H__DEBB0EDD_73A9_4E79_B91D_B77BD5382318__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -