SmsManager/C_SFQuery.h
2025-01-14 10:46:18 +08:00

102 lines
2.5 KiB
C++

#if !defined(AFX_C_SFQUERY_H__2C4EF75C_65DB_44F9_9661_1F4017883B2A__INCLUDED_)
#define AFX_C_SFQUERY_H__2C4EF75C_65DB_44F9_9661_1F4017883B2A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// C_SFQUERY.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CC_SFQuery dialog
#include "..\public\reportctrl\ReportCtrl.h"
#include "TabDlg.h"
class CMainFrame;
class CProcessSocket;
class DLG_Corp_LXR_SF;
typedef CTypedPtrList<CPtrList, ANS_Corp_SFData*> CSFData;
#define MENU_SFQUERY_COPY WM_USER+220
class CC_SFQuery : public CDialog
{
public:
CMainFrame * m_pMainFrame;
CProcessSocket * m_pSocket;
CImageList m_Image;
CCorpName m_Corp;
CSFData m_SFData;
BOOL m_bRefresh;
BOOL m_bInit; //是否已初始化
DLG_Corp_LXR_SF *m_pSFDlg; //用于顺丰查单
// Construction
public:
void ShowRMenu();
void Close_Corp();
void Close_PayData();
long GetCurrentSelected();
void RefreshMonPayData();
BOOL ProcessSocket(Socket_Head *pHead);
BOOL ProcessSocket(Socket_Head_Add *pHead, BYTE *pFrame);
BOOL ReShow(BOOL bRefresh=false);
BOOL ReHide();
BOOL RefreshInfo();
void Close();
CC_SFQuery(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CC_SFQuery)
enum { IDD = IDD_C_SFQUERY };
CEdit m_E_CorpID;
CComboBox m_L_Corp;
CButton m_S_S1;
CReportCtrl m_wndList;
COleDateTime m_tBegin;
COleDateTime m_tEnd;
int m_lCorp;
int m_lExpressType;
int m_lProductType;
int m_lStatus;
int m_lPayType;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CC_SFQuery)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CC_SFQuery)
virtual BOOL OnInitDialog();
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnCAgentpayQuery();
afx_msg void OnDblclkCAgentpayList(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnRclickCAgentpayList(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnCAgentpayTc();
afx_msg void OnCPayQuery2();
afx_msg void OnSelchangeCPayCorp();
//}}AFX_MSG
afx_msg void On_User_See();
afx_msg void On_User_Copy();
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_C_SFQUERY_H__2C4EF75C_65DB_44F9_9661_1F4017883B2A__INCLUDED_)