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.

72 lines
2.1 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation 1996-2001.
  5. //
  6. // File: CGroup.h
  7. //
  8. // Contents: definition of CConfigGroup
  9. //
  10. //----------------------------------------------------------------------------
  11. #if !defined(AFX_CGROUP_H__8606032F_F7C3_11D0_9C6F_00C04FB6C6FA__INCLUDED_)
  12. #define AFX_CGROUP_H__8606032F_F7C3_11D0_9C6F_00C04FB6C6FA__INCLUDED_
  13. #if _MSC_VER >= 1000
  14. #pragma once
  15. #endif // _MSC_VER >= 1000
  16. #include "resource.h"
  17. #include "attr.h"
  18. /////////////////////////////////////////////////////////////////////////////
  19. // CConfigGroup dialog
  20. class CConfigGroup : public CAttribute
  21. {
  22. // Construction
  23. public:
  24. CConfigGroup(UINT nTemplateID); // standard constructor
  25. // Dialog Data
  26. //{{AFX_DATA(CConfigGroup)
  27. enum { IDD = IDD_CONFIG_MEMBERSHIP };
  28. CButton m_btTitleMembers;
  29. CButton m_btTitleMemberOf;
  30. CListBox m_lbMembers;
  31. CListBox m_lbMemberOf;
  32. CEdit m_eNoMembers;
  33. CEdit m_eNoMemberOf;
  34. //}}AFX_DATA
  35. // Overrides
  36. // ClassWizard generated virtual function overrides
  37. //{{AFX_VIRTUAL(CConfigGroup)
  38. protected:
  39. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  40. //}}AFX_VIRTUAL
  41. // Implementation
  42. protected:
  43. // Generated message map functions
  44. //{{AFX_MSG(CConfigGroup)
  45. afx_msg void OnAddMember();
  46. afx_msg void OnAddMemberof();
  47. afx_msg void OnRemoveMember();
  48. afx_msg void OnRemoveMemberof();
  49. afx_msg void OnSelChangeMem();
  50. afx_msg void OnSelChangeMemof();
  51. virtual BOOL OnApply();
  52. virtual BOOL OnInitDialog();
  53. //}}AFX_MSG
  54. DECLARE_MESSAGE_MAP()
  55. private:
  56. bool m_fDirty;
  57. BOOL m_bAlias;
  58. BOOL m_bNoMembers;
  59. BOOL m_bNoMemberOf;
  60. };
  61. //{{AFX_INSERT_LOCATION}}
  62. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  63. #endif // !defined(AFX_CGROUP_H__8606032F_F7C3_11D0_9C6F_00C04FB6C6FA__INCLUDED_)