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.

72 lines
1.5 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. LUsers.h : header file
  5. File History:
  6. JonY Apr-96 created
  7. --*/
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CLUsers dialog
  10. class CLUsers : public CPropertyPage
  11. {
  12. DECLARE_DYNCREATE(CLUsers)
  13. // Construction
  14. public:
  15. CLUsers();
  16. ~CLUsers();
  17. // Dialog Data
  18. //{{AFX_DATA(CLUsers)
  19. enum { IDD = IDD_LOCAL_USERS };
  20. CUserList m_lbAddedUserList;
  21. CUserList m_lbAvailableUserList;
  22. CComboBox m_csDomainList;
  23. CString m_csDomainName;
  24. CString m_csAvailableUserList;
  25. //}}AFX_DATA
  26. // Overrides
  27. // ClassWizard generate virtual function overrides
  28. //{{AFX_VIRTUAL(CLUsers)
  29. public:
  30. virtual LRESULT OnWizardBack();
  31. virtual LRESULT OnWizardNext();
  32. protected:
  33. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  34. //}}AFX_VIRTUAL
  35. // Implementation
  36. protected:
  37. // Generated message map functions
  38. //{{AFX_MSG(CLUsers)
  39. virtual BOOL OnInitDialog();
  40. afx_msg void OnAddButton();
  41. afx_msg void OnSelchangeDomainCombo();
  42. afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
  43. afx_msg void OnDblclkAddedLocalUsers();
  44. afx_msg void OnDblclkAvailableLocalUsers();
  45. afx_msg void OnSetfocusAvailableLocalUsers();
  46. afx_msg void OnSetfocusAddedLocalUsers();
  47. afx_msg void OnRemoveButton();
  48. //}}AFX_MSG
  49. DECLARE_MESSAGE_MAP()
  50. private:
  51. void LoadDomainList();
  52. void CatalogAccounts(const TCHAR* lpDomain, CUserList& pListBox, BOOL bLocal = FALSE);
  53. CStringArray m_csaDomainList;
  54. CString m_csMyMachineName;
  55. CString m_csPrimaryDomain;
  56. CString m_csServer;
  57. };