SmsManager/C_FaxNum.h

97 lines
2.4 KiB
C
Raw Normal View History

2025-01-14 10:46:18 +08:00
#if !defined(AFX_C_FAXNUM_H__2C4EF75C_65DB_44F9_9661_1F4017883B2A__INCLUDED_)
#define AFX_C_FAXNUM_H__2C4EF75C_65DB_44F9_9661_1F4017883B2A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// C_FaxNum.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CC_FaxNum dialog
#include "..\public\reportctrl\ReportCtrl.h"
#include "TabDlg.h"
#define MENU_FAXNUM_FP WM_USER+220
#define MENU_FAXNUM_EXPORT WM_USER+221
class CMainFrame;
class CProcessSocket;
typedef CTypedPtrList<CPtrList, ANS_FaxNum_Data*> CFaxNumData;
class CC_FaxNum : public CDialog
{
public:
CMainFrame * m_pMainFrame;
CProcessSocket * m_pSocket;
CImageList m_Image;
CCorpName m_Corp;
CFaxNumData m_FaxNumData;
BOOL m_bRefresh;
BOOL m_bInit; //<2F>Ƿ<EFBFBD><C7B7>ѳ<EFBFBD>ʼ<EFBFBD><CABC>
// Construction
public:
BOOL ProcessSocket(Socket_Head_Add *pHead,BYTE* pFrame);
void Close_Corp();
void Close_FaxNumData();
long GetCurrentSelected();
void ShowRMenu();
void ReShowFaxNum();
BOOL ProcessSocket(Socket_Head *pHead);
BOOL ReShow(BOOL bRefresh=false);
BOOL ReHide();
BOOL RefreshInfo();
void Close();
CC_FaxNum(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CC_FaxNum)
enum { IDD = IDD_C_FAXNUM };
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_lFPType;
int m_lPayType;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CC_FaxNum)
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_FaxNum)
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 OnCPayQuery2();
afx_msg void OnSelchangeCPayCorp();
//}}AFX_MSG
afx_msg void On_User_FP();
afx_msg void On_User_Export();
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_C_FAXNUM_H__2C4EF75C_65DB_44F9_9661_1F4017883B2A__INCLUDED_)