#if !defined(AFX_BACK_H__809FACAB_4BBC_40FD_8D70_C53DA3C2B9B6__INCLUDED_) #define AFX_BACK_H__809FACAB_4BBC_40FD_8D70_C53DA3C2B9B6__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // Back.h : header file // ///////////////////////////////////////////////////////////////////////////// // CBack dialog #include "..\public\reportctrl\ReportCtrl.h" class CMainFrame; class CProcessSocket; typedef CTypedPtrList CCorpName; #define MENU_BACK_ADD WM_USER + 300 #define MENU_BACK_DEL WM_USER + 301 class CBack : public CDialog { protected: CMainFrame * m_pMainFrame; CProcessSocket * m_pSocket; CImageList m_Image; CCorpName m_Corp; BOOL m_bRefresh; BOOL m_bInit; //ÊÇ·ñÒѳõʼ»¯ // Construction public: long GetCurrentSelected(); BOOL isLockItem(long lItem, BOOL bShowWarning=true); void SetLockItem(long lItem, BOOL bLock); void ShowRMenu(); BOOL ProcessSocket(Socket_Head *pHead); BOOL RefreshInfo(); BOOL ReHide(); BOOL ReShow(BOOL bRefresh=false); void Close(); CBack(CWnd* pParent = NULL); // standard constructor // Dialog Data //{{AFX_DATA(CBack) enum { IDD = IDD_BACK }; CEdit m_E_CorpID; CButton m_S_S1; CComboBox m_L_Corp; CReportCtrl m_wndList; int m_lCorp; CString m_strMobile; COleDateTime m_tBegin; COleDateTime m_tEnd; //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CBack) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CBack) virtual BOOL OnInitDialog(); afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg void OnBackQuery(); afx_msg void OnDblclkBackList(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnKeydownBackList(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnRclickBackList(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnBackQuery2(); afx_msg void OnBackQuery3(); //}}AFX_MSG afx_msg void On_Back_Add(); afx_msg void On_Back_Del(); DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_BACK_H__809FACAB_4BBC_40FD_8D70_C53DA3C2B9B6__INCLUDED_)