CorpSms/DLG_User_Inport.h
2025-02-27 16:58:16 +08:00

80 lines
2.0 KiB
C++

#if !defined(AFX_DLG_USER_INPORT_H__ACD53297_1D40_4A26_ABC7_C03F613558C3__INCLUDED_)
#define AFX_DLG_USER_INPORT_H__ACD53297_1D40_4A26_ABC7_C03F613558C3__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DLG_User_Inport.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// DLG_User_Inport dialog
#include "..\public\SortList\SortList.h"
#include "DLG_User_ModifyP.h"
typedef CTypedPtrList<CPtrList, PAddress*> CAddress;
class CFGAddress;
class CFPAddress;
class DLG_User_Inport : public CDialog
{
public:
BOOL m_bInport;
BOOL m_bPAddress;
CListCtrl * m_pList;
CAddress m_User;
BOOL m_bReMobile;
protected:
CFPAddress * m_pFPAddress;
CAdoRecordSet m_AdoRS;
char m_szLocal[128];
// Construction
public:
long ReadLine(CFile *file, char * pSplit,char *szBuf, long lLen);
void Close();
BOOL User_Inport();
BOOL User_Export();
void InitList();
void SetInport(CFPAddress *pFPAddress,CListCtrl * pList, BOOL bInport,BOOL bPAddress = false );
DLG_User_Inport(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(DLG_User_Inport)
enum { IDD = IDD_USER_INPORT };
CButton m_B_Head;
CButton m_B_ReMobile;
CComboBox m_C_RecordSplit;
CComboBox m_C_FieldSplit;
CButton m_B_Tips;
CEdit m_E_FileName;
CSortList m_L_List;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(DLG_User_Inport)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(DLG_User_Inport)
virtual BOOL OnInitDialog();
virtual void OnOK();
afx_msg void OnUserInportSelall();
afx_msg void OnUserInportClear();
afx_msg void OnUserInportGetfile();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLG_USER_INPORT_H__ACD53297_1D40_4A26_ABC7_C03F613558C3__INCLUDED_)