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.

84 lines
2.5 KiB

  1. //+--------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1994 - 1998.
  5. //
  6. // File: Category.h
  7. //
  8. // Contents: categories property page (for an application)
  9. //
  10. // Classes: CCategory
  11. //
  12. // History: 03-14-1998 stevebl Commented
  13. //
  14. //---------------------------------------------------------------------------
  15. #if !defined(AFX_CATEGORY_H__DE2C8018_91E4_11D1_984E_00C04FB9603F__INCLUDED_)
  16. #define AFX_CATEGORY_H__DE2C8018_91E4_11D1_984E_00C04FB9603F__INCLUDED_
  17. #if _MSC_VER >= 1000
  18. #pragma once
  19. #endif // _MSC_VER >= 1000
  20. // Category.h : header file
  21. //
  22. /////////////////////////////////////////////////////////////////////////////
  23. // CCategory dialog
  24. class CCategory : public CPropertyPage
  25. {
  26. DECLARE_DYNCREATE(CCategory)
  27. // Construction
  28. public:
  29. CCategory();
  30. ~CCategory();
  31. CCategory ** m_ppThis;
  32. // Dialog Data
  33. //{{AFX_DATA(CCategory)
  34. enum { IDD = IDD_CATEGORY };
  35. CListBox m_Available;
  36. CListBox m_Assigned;
  37. //}}AFX_DATA
  38. CAppData * m_pData;
  39. IClassAdmin * m_pIClassAdmin;
  40. LONG_PTR m_hConsoleHandle;
  41. MMC_COOKIE m_cookie;
  42. BOOL m_fModified;
  43. BOOL m_fRSOP;
  44. BOOL m_fPreDeploy;
  45. APPCATEGORYINFOLIST * m_pCatList;
  46. // Overrides
  47. // ClassWizard generate virtual function overrides
  48. //{{AFX_VIRTUAL(CCategory)
  49. public:
  50. virtual BOOL OnApply();
  51. protected:
  52. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  53. virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
  54. //}}AFX_VIRTUAL
  55. // Implementation
  56. protected:
  57. // Generated message map functions
  58. //{{AFX_MSG(CCategory)
  59. afx_msg void OnAssign();
  60. afx_msg void OnRemove();
  61. virtual BOOL OnInitDialog();
  62. afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
  63. afx_msg void OnSelchangeList1();
  64. afx_msg void OnSelchangeList2();
  65. //}}AFX_MSG
  66. DECLARE_MESSAGE_MAP()
  67. void RefreshData(void);
  68. BOOL IsAssigned(GUID &);
  69. };
  70. //{{AFX_INSERT_LOCATION}}
  71. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  72. #endif // !defined(AFX_CATEGORY_H__DE2C8018_91E4_11D1_984E_00C04FB9603F__INCLUDED_)