Source code of Windows XP (NT5)
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.

71 lines
1.9 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. virtual BOOL OnApply();
  50. virtual BOOL OnInitDialog();
  51. //}}AFX_MSG
  52. DECLARE_MESSAGE_MAP()
  53. private:
  54. bool m_fDirty;
  55. BOOL m_bAlias;
  56. BOOL m_bNoMembers;
  57. BOOL m_bNoMemberOf;
  58. };
  59. //{{AFX_INSERT_LOCATION}}
  60. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  61. #endif // !defined(AFX_CGROUP_H__8606032F_F7C3_11D0_9C6F_00C04FB6C6FA__INCLUDED_)