Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

78 lines
2.2 KiB

  1. //+--------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1994 - 1998.
  5. //
  6. // File: CatList.h
  7. //
  8. // Contents: master category list property page
  9. //
  10. // Classes: CCatList
  11. //
  12. // History: 03-14-1998 stevebl Commented
  13. //
  14. //---------------------------------------------------------------------------
  15. #if !defined(AFX_CATLIST_H__5A23FB9D_92BB_11D1_984E_00C04FB9603F__INCLUDED_)
  16. #define AFX_CATLIST_H__5A23FB9D_92BB_11D1_984E_00C04FB9603F__INCLUDED_
  17. #if _MSC_VER >= 1000
  18. #pragma once
  19. #endif // _MSC_VER >= 1000
  20. // CatList.h : header file
  21. //
  22. /////////////////////////////////////////////////////////////////////////////
  23. // CCatList dialog
  24. class CCatList : public CPropertyPage
  25. {
  26. DECLARE_DYNCREATE(CCatList)
  27. // Construction
  28. public:
  29. CCatList();
  30. ~CCatList();
  31. CCatList ** m_ppThis;
  32. CScopePane * m_pScopePane;
  33. multimap<CString, DWORD> m_Categories;
  34. CString m_szDomainName;
  35. BOOL m_fRSOP;
  36. // Dialog Data
  37. //{{AFX_DATA(CCatList)
  38. enum { IDD = IDD_CATEGORIES };
  39. CListBox m_cList;
  40. //}}AFX_DATA
  41. // Overrides
  42. // ClassWizard generate virtual function overrides
  43. //{{AFX_VIRTUAL(CCatList)
  44. public:
  45. virtual BOOL OnApply();
  46. protected:
  47. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  48. virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
  49. //}}AFX_VIRTUAL
  50. // Implementation
  51. protected:
  52. // Generated message map functions
  53. //{{AFX_MSG(CCatList)
  54. afx_msg void OnAdd();
  55. afx_msg void OnRemove();
  56. virtual BOOL OnInitDialog();
  57. afx_msg void OnModify();
  58. afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
  59. //}}AFX_MSG
  60. DECLARE_MESSAGE_MAP()
  61. void RefreshData(void);
  62. };
  63. //{{AFX_INSERT_LOCATION}}
  64. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  65. #endif // !defined(AFX_CATLIST_H__5A23FB9D_92BB_11D1_984E_00C04FB9603F__INCLUDED_)