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

87 lines
2.6 KiB
C++

#if !defined(AFX_FSWTMobile_H__438F96EA_0DD2_4BF7_8FBF_D3564CBE2818__INCLUDED_)
#define AFX_FSWTMobile_H__438F96EA_0DD2_4BF7_8FBF_D3564CBE2818__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// FSWTMobile.h : header file
//
#include "..\public\reportctrl\ReportCtrl.h"
#include "..\PUBLIC\CorpSms.h" // Added by ClassView
/////////////////////////////////////////////////////////////////////////////
#define MENU_SWTMOBILE_ADD WM_USER+230 //添加管理员
#define MENU_SWTMOBILE_MODIFY WM_USER+231 //添加管理员
#define MENU_SWTMOBILE_DELETE WM_USER+232 //添加管理员
#define MENU_SWTMOBILE_GETURL WM_USER+233 //添加管理员
#define MENU_SWTMOBILE_REFRESH WM_USER+234 //添加管理员
// CFSWTMobile dialog
class CMainFrame;
class CProcessSocket;
class CFSWTMobile : public CDialog
{
protected:
CMainFrame * m_pMainFrame;
CProcessSocket * m_pSocket;
CImageList m_Image;
CString m_strMobile;
BOOL m_bRefresh; //是否已刷新过数据
BOOL m_bRefresh2; //是否已刷新过数据
BOOL m_bInit; //是否已初始化
CAdoRecordSet m_AdoRS;
// Construction
public:
ANS_SWTMobile_Data GetSWTMobileData(long lItem);
long GetCurrentSelected();
void ShowRMenu();
BOOL ProcessSocket(Socket_Head *pHead);
BOOL RefreshInfo();
BOOL ReShow(BOOL bRefresh=false);
BOOL ReHide();
CFSWTMobile(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CFSWTMobile)
enum { IDD = IDD_SWTMOBILE };
CStatic m_S_S2;
CStatic m_B_S1;
CReportCtrl m_wndList;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFSWTMobile)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CFSWTMobile)
virtual BOOL OnInitDialog();
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnRclickSWTMobileList(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnDblclkSWTMobileList(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnKeydownSWTMobileList(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnItemchangedSWTMobileList(NMHDR* pNMHDR, LRESULT* pResult);
virtual void OnOK();
virtual void OnCancel();
//}}AFX_MSG
afx_msg void On_R_Add();
afx_msg void On_R_Modify();
afx_msg void On_R_Delete();
afx_msg void On_R_Refresh();
afx_msg void On_R_GetURL();
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_FSWTMobile_H__438F96EA_0DD2_4BF7_8FBF_D3564CBE2818__INCLUDED_)