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

92 lines
2.5 KiB
C++

#if !defined(AFX_FSMSSP_H__A9B8B728_A207_46D1_8378_9E7DD1FB1F1F__INCLUDED_)
#define AFX_FSMSSP_H__A9B8B728_A207_46D1_8378_9E7DD1FB1F1F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// FSmsSP.h : header file
//
#include "..\public\reportctrl\ReportCtrl.h"
#include "..\PUBLIC\CorpSms.h" // Added by ClassView
/////////////////////////////////////////////////////////////////////////////
// CFSmsSP dialog
#define MENU_SP_SEE WM_USER+260
#define MENU_SP_DZ WM_USER+261
#define MENU_SP_QXDZ WM_USER+262
#define MENU_SP_TEST WM_USER+263
#define MENU_SP_REFRESH WM_USER+264
class CMainFrame;
class CProcessSocket;
class CFSmsSP : public CDialog
{
protected:
CMainFrame * m_pMainFrame;
CProcessSocket * m_pSocket;
CImageList m_Image;
CString m_strMobile;
BOOL m_bRefresh; //是否已刷新过数据
BOOL m_bRefresh2; //是否已刷新过数据
BOOL m_bInit; //是否已初始化
COleDateTime m_tBirthday;
CAdoRecordSet m_AdoRS;
// Construction
public:
void On_SP_DZ2();
BOOL isLockItem(long lItem, BOOL bShowWarning=true);
void SetLockItem(long lItem,BOOL bLock );
long GetCurrentSelected();
void ShowRMenu();
BOOL ProcessSocket(Socket_Head *pHead);
BOOL RefreshInfo();
BOOL ReHide();
BOOL ReShow(BOOL bRefresh=false);
CFSmsSP(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CFSmsSP)
enum { IDD = IDD_SMSSP };
CStatic m_S_S2;
CStatic m_S_S1;
CReportCtrl m_wndList;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFSmsSP)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CFSmsSP)
virtual BOOL OnInitDialog();
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnDblclkSmsspList(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnRclickSmsspList(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnKeydownSmsspList(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnItemchangedSmsspList(NMHDR* pNMHDR, LRESULT* pResult);
virtual void OnOK();
virtual void OnCancel();
//}}AFX_MSG
afx_msg void On_SP_See();
afx_msg void On_SP_DZ();
afx_msg void On_SP_QXDZ();
afx_msg void On_SP_Test();
afx_msg void On_SP_Refresh();
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_FSMSSP_H__A9B8B728_A207_46D1_8378_9E7DD1FB1F1F__INCLUDED_)