#if !defined(AFX_FSMSQUERYLOG_H__FF3C2FE2_4C05_4347_B61F_B8BABBCA0CB5__INCLUDED_) #define AFX_FSMSQUERYLOG_H__FF3C2FE2_4C05_4347_B61F_B8BABBCA0CB5__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // FSmsQueryLog.h : header file // ///////////////////////////////////////////////////////////////////////////// // CFSmsQueryLog dialog #include "..\public\reportctrl\ReportCtrl.h" #define MENU_QUERYLOG_SEE WM_USER+230 //删除 #define MENU_QUERYLOG_SEND WM_USER+231 //删除 #define MENU_QUERYLOG_DEL WM_USER+233 //删除 #define MENU_QUERYLOG_EXPORT WM_USER+234 //刷新 #define MENU_QUERYLOG_REFRESH WM_USER+235 //刷新 #define MENU_QUERYLOG_REFSTATUS WM_USER+236 //刷新状态 #define MENU_SMSJS_TYPESETUP WM_USER+240 //类别设置 class CMainFrame; class CProcessSocket; class CSendThread; class CFSmsQueryLog : public CDialog { public: protected: CMainFrame * m_pMainFrame; CProcessSocket * m_pSocket; CImageList m_Image; BOOL m_bRefresh; //是否已刷新过数据 BOOL m_bShowToday; //是否仅显示当天的数据 BOOL m_bInit; //是否已初始化 CAdoRecordSet m_AdoRS; CAdoRecordSet m_AdoRS2; long m_lRefreshStatusIndex; //查询状态时到达的索引 // Construction public: long GetItemStatus(long iItem); void RefreshStatus(BOOL bBegin = true); void RecvNewQueryLog(ANS_QueryLog_Data sms); void RecvQueryLog(); BOOL ReHide(); BOOL ReShow(BOOL bRefresh=false); BOOL RefreshInfo(); long GetCurrentSelected(); BOOL ProcessSocket(Socket_Head *pHead); void ShowRMenu(); void SetToday( BOOL bToday ); CFSmsQueryLog(CWnd* pParent = NULL); // standard constructor // Dialog Data //{{AFX_DATA(CFSmsQueryLog) enum { IDD = IDD_SMSQUERYLOG }; CReportCtrl m_wndList; //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CFSmsQueryLog) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CFSmsQueryLog) virtual BOOL OnInitDialog(); afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg void OnKeydownSmsquerylogList(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnRclickSmsquerylogList(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnDblclkSmsquerylogList(NMHDR* pNMHDR, LRESULT* pResult); //}}AFX_MSG afx_msg void On_User_See(); afx_msg void On_User_Send(); afx_msg void On_User_Del(); afx_msg void On_User_Export(); afx_msg void On_User_Refresh(); afx_msg void On_User_RefStatus(); DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_FSMSQUERYLOG_H__FF3C2FE2_4C05_4347_B61F_B8BABBCA0CB5__INCLUDED_)