AgentManager/K_GZMsg.h
2025-01-22 15:45:17 +08:00

106 lines
2.7 KiB
C++

#if !defined(AFX_C_GZMSG_H__507EFD85_FCBF_46BF_98FD_1D688F2030EA__INCLUDED_)
#define AFX_TC_GZMSG_H__507EFD85_FCBF_46BF_98FD_1D688F2030EA__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// K_GZMsg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CK_GZMsg dialog
#include "..\public\reportctrl\ReportCtrl.h"
#include "DLG_YWY_Analyse.h"
#include "DLG_GZMsg_JL.h"
#define MENU_GZMSG_GZJS WM_USER + 340
#define MENU_GZMSG_COPY WM_USER + 341
class CMainFrame;
class CProcessSocket;
typedef CTypedPtrList<CPtrList, ANS_Corp_NameData*> CCorpName;
typedef CTypedPtrList<CPtrList, ANS_YWY_NameData*> CYWYName;
typedef CTypedPtrList<CPtrList, ANS_GZMsg_TC*> CGZMsg;
class CK_GZMsg : public CDialog
{
protected:
CMainFrame * m_pMainFrame;
CProcessSocket * m_pSocket;
CImageList m_Image;
CCorpName m_Corp;
BOOL m_bRefresh;
BOOL m_bInit; //是否已初始化
BOOL m_bQueryAll;
long m_lCurCorpID;
CString m_strCurName;
long m_lAllSend;
long m_lAllRecv;
CYWYName m_YWY;
CGZMsg m_GZMsg;
ANS_GZMsgData m_GZData;
DLG_YWY_Analyse *m_pAnalyseDlg; //用于统计分析
DLG_GZMsg_JL *m_pDlgJL; //用于激励分析
BOOL m_lQueryType;
// Construction
public:
void Close_GZMsg();
CString GetName_YWY(long lYWYID);
void Close_YWY();
void Close_Corp();
void ShowRMenu();
void Close();
BOOL ProcessSocket(Socket_Head *pHead);
BOOL ProcessSocket(Socket_Head_Add *pHead, BYTE* pFrame);
BOOL RefreshInfo();
BOOL ReHide();
BOOL ReShow(BOOL bRefresh=false);
CK_GZMsg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CK_GZMsg)
enum { IDD = IDD_K_GZMSG };
CComboBox m_L_MON;
CButton m_S_S1;
CReportCtrl m_wndList;
int m_lType;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CK_GZMsg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CK_GZMsg)
virtual BOOL OnInitDialog();
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnTabQuery();
afx_msg void OnRclickTabList(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
afx_msg void On_User_Copy();
afx_msg void On_User_GZJS();
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnBnClickedTabQuery4();
afx_msg void OnBnClickedTabQuery3();
afx_msg void OnBnClickedTabQuery5();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TABDLG_H__507EFD85_FCBF_46BF_98FD_1D688F2030EA__INCLUDED_)