📄 monitorclientappdlg.h
字号:
// MonitorClientAppDlg.h : header file
//
#if !defined(AFX_MONITORCLIENTAPPDLG_H__799A5E3A_930E_4D29_A65F_DC15D5731759__INCLUDED_)
#define AFX_MONITORCLIENTAPPDLG_H__799A5E3A_930E_4D29_A65F_DC15D5731759__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CMonitorClientAppDlg dialog
#include "Client.h"
#include "DataManager.h"
#include "GUI.h"
class CMonitorClientAppDlg : public CDialog
{
// Construction
public:
CMonitorClientAppDlg(CWnd* pParent = NULL); // standard constructor
void LoadTray();
void DestroyTray();
void ModifyTray( E_STATUS eStatus = STATUS_NORMAL );
void MininumWnd();
//确认已查看报警信息后的动作
void CheckedAlarmInfo();
public:
// Dialog Data
//{{AFX_DATA(CMonitorClientAppDlg)
enum { IDD = IDD_MONITORCLIENTAPP_DIALOG };
CListCtrl_Ex m_ctrlLstAlarm;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMonitorClientAppDlg)
public:
virtual BOOL DestroyWindow();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void PostNcDestroy();
virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult);
virtual LRESULT OnSystemTray(WPARAM wParam,LPARAM lParam);
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CMonitorClientAppDlg)
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 OnButton2();
afx_msg void OnButton3();
afx_msg void OnButton4();
afx_msg void OnButton5();
afx_msg void OnButton6();
afx_msg void OnDestroy();
afx_msg void OnButton7();
afx_msg void OnTrayClose();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnRecvMsg(WPARAM wParam, LPARAM lParam );
afx_msg void OnRecvAlarm(WPARAM wParam, LPARAM lParam );
afx_msg void OnRecvModifyTray(WPARAM wParam, LPARAM lParam );
afx_msg void OnButtonServersetting();
afx_msg void OnButtonOpenie();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
protected:
CClient m_Client;
E_STATUS m_eCurStatus;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MONITORCLIENTAPPDLG_H__799A5E3A_930E_4D29_A65F_DC15D5731759__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -