📄 kreceivealarmpopdlg.h
字号:
#if !defined(AFX_KRECEIVEALARMPOPDLG_H__2D4995A4_F379_4284_81BE_8B51E8139190__INCLUDED_)
#define AFX_KRECEIVEALARMPOPDLG_H__2D4995A4_F379_4284_81BE_8B51E8139190__INCLUDED_
#include "Resource.h"
#include "../KJAlarmProtocol/KAlarmProtocol.h"
#include "KAlarmPlayer.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// KReceiveAlarmPopDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// KReceiveAlarmPopDlg dialog
class KReceiveAlarmPopDlg : public CDialog
{
// Construction
public:
bool blAutoClose;
void PostNcDestroy();
CString EventID;
void SetAlarmProtocol(KAlarmProtocol* Alarm);
KReceiveAlarmPopDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(KReceiveAlarmPopDlg)
enum { IDD = IDD_DIALOGRECEIVEALARM };
CString m_AlarmState;
CString m_AlarmInfo;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(KReceiveAlarmPopDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
KAlarmProtocol* AlarmProtocol;
// Generated message map functions
//{{AFX_MSG(KReceiveAlarmPopDlg)
afx_msg void OnButton1();
virtual void OnCancel();
virtual BOOL OnInitDialog();
afx_msg void OnTimer(UINT nIDEvent);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
KAlarmPlayer mAlarmPlayer;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_KRECEIVEALARMPOPDLG_H__2D4995A4_F379_4284_81BE_8B51E8139190__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -