SmsManager/FiltDlg.h

81 lines
2.1 KiB
C
Raw Normal View History

2025-01-14 10:46:18 +08:00
#if !defined(AFX_FILTDLG_H__B0BE026B_4A19_4CA2_B442_35267C3E21E7__INCLUDED_)
#define AFX_FILTDLG_H__B0BE026B_4A19_4CA2_B442_35267C3E21E7__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// FiltDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CFiltDlg dialog
#include "..\public\reportctrl\ReportCtrl.h"
#define MENU_FILT_ADD WM_USER + 300
#define MENU_FILT_MODIFY WM_USER + 301
#define MENU_FILT_DEL WM_USER + 302
#define MENU_FILT_REFRESH WM_USER + 303
class CMainFrame;
class CProcessSocket;
typedef CTypedPtrList<CPtrList, ANS_Filt2_SeeData*> CFilt;
class CFiltDlg : public CDialog
{
protected:
CMainFrame * m_pMainFrame;
CProcessSocket * m_pSocket;
CImageList m_Image;
CFilt m_Filt;
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);
long GetCurrentSelected();
void ShowRMenu();
void Close();
BOOL ProcessSocket(Socket_Head *pHead);
BOOL ReHide();
BOOL RefreshInfo();
BOOL ReShow(BOOL bRefresh=false);
CFiltDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CFiltDlg)
enum { IDD = IDD_FILT };
CReportCtrl m_wndList;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFiltDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CFiltDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnDblclkFiltList(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnRclickFiltList(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
afx_msg void On_Filt_Add();
afx_msg void On_Filt_Modify();
afx_msg void On_Filt_Del();
afx_msg void On_Filt_Refresh();
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_FILTDLG_H__B0BE026B_4A19_4CA2_B442_35267C3E21E7__INCLUDED_)