SmsManager/K_SWTSQ.h

80 lines
2.1 KiB
C
Raw Normal View History

2025-01-14 10:46:18 +08:00
#if !defined(AFX_K_SWTSQ_H__0FD6CBAE_0B2A_4F7B_B93D_C26EC48DDE99__INCLUDED_)
#define AFX_K_SWTSQ_H__0FD6CBAE_0B2A_4F7B_B93D_C26EC48DDE99__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// K_SWTSQ.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CK_SWTSQ dialog
#include "..\public\reportctrl\ReportCtrl.h"
class CMainFrame;
class CProcessSocket;
#define MENU_SWTSQ_SEE WM_USER + 340
#define MENU_SWTSQ_REMSG WM_USER + 341
#define MENU_SWTSQ_REFRESH WM_USER + 342
typedef CTypedPtrList<CPtrList, ANS_SWT_SeeData*> CSWT;
class CK_SWTSQ : public CDialog
{
protected:
CMainFrame * m_pMainFrame;
CProcessSocket * m_pSocket;
CImageList m_Image;
CSWT m_SWT;
BOOL m_bRefresh;
BOOL m_bInit; //<2F>Ƿ<EFBFBD><C7B7>ѳ<EFBFBD>ʼ<EFBFBD><CABC>
// Construction
public:
void SetLockItem(long lItem, BOOL bLock);
BOOL isLockItem(long lItem, BOOL bShowWarning=true);
void ShowRMenu();
long GetCurrentSelected();
BOOL ProcessSocket(Socket_Head *pHead);
BOOL ReShow(BOOL bRefresh=false);
BOOL ReHide();
void Close();
BOOL RefreshInfo();
CK_SWTSQ(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CK_SWTSQ)
enum { IDD = IDD_SWTSQ };
CReportCtrl m_wndList;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CK_SWTSQ)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CK_SWTSQ)
virtual BOOL OnInitDialog();
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnDblclkSwtsqList(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnRclickSwtsqList(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnKeydownSwtsqList(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
afx_msg void On_SWTSQ_See();
afx_msg void On_SWTSQ_ReMsg();
afx_msg void On_SWTSQ_Refresh();
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_K_SWTSQ_H__0FD6CBAE_0B2A_4F7B_B93D_C26EC48DDE99__INCLUDED_)