- Search string now assumed with * at the ends in object browser
[public/netxms.git] / src / console / win32 / ObjectSelDlg.h
1 #if !defined(AFX_OBJECTSELDLG_H__79C83A28_C41C_49C1_A2B3_8EC4388579A5__INCLUDED_)
2 #define AFX_OBJECTSELDLG_H__79C83A28_C41C_49C1_A2B3_8EC4388579A5__INCLUDED_
3
4 #if _MSC_VER > 1000
5 #pragma once
6 #endif // _MSC_VER > 1000
7 // ObjectSelDlg.h : header file
8 //
9
10 //
11 // Allowed classes
12 //
13
14 #define SCL_NODE 0x0001
15 #define SCL_INTERFACE 0x0002
16 #define SCL_CONTAINER 0x0004
17 #define SCL_SUBNET 0x0008
18 #define SCL_NETWORK 0x0010
19 #define SCL_SERVICEROOT 0x0020
20 #define SCL_ZONE 0x0040
21
22
23 /////////////////////////////////////////////////////////////////////////////
24 // CObjectSelDlg dialog
25
26 class CObjectSelDlg : public CDialog
27 {
28 // Construction
29 public:
30 BOOL m_bSingleSelection;
31 DWORD m_dwAllowedClasses;
32 DWORD m_dwNumObjects;
33 DWORD *m_pdwObjectList;
34 CObjectSelDlg(CWnd* pParent = NULL); // standard constructor
35 virtual ~CObjectSelDlg();
36
37 // Dialog Data
38 //{{AFX_DATA(CObjectSelDlg)
39 enum { IDD = IDD_SELECT_OBJECT };
40 CListCtrl m_wndListCtrl;
41 //}}AFX_DATA
42
43
44 // Overrides
45 // ClassWizard generated virtual function overrides
46 //{{AFX_VIRTUAL(CObjectSelDlg)
47 protected:
48 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
49 //}}AFX_VIRTUAL
50
51 // Implementation
52 protected:
53
54 // Generated message map functions
55 //{{AFX_MSG(CObjectSelDlg)
56 virtual BOOL OnInitDialog();
57 virtual void OnOK();
58 afx_msg void OnDblclkListObjects(NMHDR* pNMHDR, LRESULT* pResult);
59 //}}AFX_MSG
60 DECLARE_MESSAGE_MAP()
61 private:
62 CImageList m_imageList;
63 };
64
65 //{{AFX_INSERT_LOCATION}}
66 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
67
68 #endif // !defined(AFX_OBJECTSELDLG_H__79C83A28_C41C_49C1_A2B3_8EC4388579A5__INCLUDED_)