119 lines
2.9 KiB
C
119 lines
2.9 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_GZMsg_JL.h"
|
|||
|
|
|||
|
#define MENU_GZMSG_GZJS WM_USER + 340
|
|||
|
#define MENU_GZMSG_COPY WM_USER + 341
|
|||
|
|
|||
|
#define MENU_GZMSG_SEE WM_USER + 350
|
|||
|
#define MENU_GZMSG_MODIFY WM_USER + 351
|
|||
|
#define MENU_GZMSG_DEL WM_USER + 352
|
|||
|
|
|||
|
|
|||
|
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; //<2F>Ƿ<EFBFBD><C7B7>ѳ<EFBFBD>ʼ<EFBFBD><CABC>
|
|||
|
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_GZMsg_JL *m_pDlgJL; //<2F><><EFBFBD>ڼ<EFBFBD><DABC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
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_Add *pHead, BYTE* pFrame);
|
|||
|
BOOL ProcessSocket(Socket_Head *pHead);
|
|||
|
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 };
|
|||
|
CButton m_B_OnlyJS;
|
|||
|
CButton m_B_OnlyTC;
|
|||
|
CComboBox m_L_YWY;
|
|||
|
CComboBox m_L_MON;
|
|||
|
CButton m_S_S1;
|
|||
|
CReportCtrl m_wndList;
|
|||
|
COleDateTime m_tBegin;
|
|||
|
COleDateTime m_tEnd;
|
|||
|
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 void OnSelchangeTabType();
|
|||
|
//}}AFX_MSG
|
|||
|
afx_msg void On_User_Copy();
|
|||
|
afx_msg void On_User_GZJS();
|
|||
|
|
|||
|
afx_msg void On_User_See();
|
|||
|
afx_msg void On_User_Modify();
|
|||
|
afx_msg void On_User_Del();
|
|||
|
|
|||
|
DECLARE_MESSAGE_MAP()
|
|||
|
public:
|
|||
|
afx_msg void OnBnClickedTabQuery4();
|
|||
|
};
|
|||
|
|
|||
|
//{{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_)
|