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.

81 lines
2.1 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows/NT **/
  3. /** Copyright(c) Microsoft Corporation, 1997 - 1998 **/
  4. /**********************************************************************/
  5. /*
  6. EditUser.h
  7. Edit Users dialog header file
  8. FILE HISTORY:
  9. */
  10. #if !defined(AFX_EDITUSER_H__77C7FD5C_6CE5_11D1_93B6_00C04FC3357A__INCLUDED_)
  11. #define AFX_EDITUSER_H__77C7FD5C_6CE5_11D1_93B6_00C04FC3357A__INCLUDED_
  12. #ifndef _TAPIDB_H
  13. #include "tapidb.h"
  14. #endif
  15. #if _MSC_VER >= 1000
  16. #pragma once
  17. #endif // _MSC_VER >= 1000
  18. /////////////////////////////////////////////////////////////////////////////
  19. // CEditUsers dialog
  20. class CEditUsers : public CBaseDialog
  21. {
  22. // Construction
  23. public:
  24. CEditUsers(CTapiDevice * pTapiDevice, CWnd* pParent = NULL); // standard constructor
  25. // Dialog Data
  26. //{{AFX_DATA(CEditUsers)
  27. enum { IDD = IDD_EDIT_USERS };
  28. CListBox m_listUsers;
  29. //}}AFX_DATA
  30. void UpdateButtons();
  31. void SetDirty(BOOL bDirty) { m_bDirty = bDirty; }
  32. BOOL IsDirty() { return m_bDirty; }
  33. // Context Help Support
  34. virtual DWORD * GetHelpMap() { return (DWORD *) &g_aHelpIDs_EDIT_USERS[0]; }
  35. // Overrides
  36. // ClassWizard generated virtual function overrides
  37. //{{AFX_VIRTUAL(CEditUsers)
  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(CEditUsers)
  45. virtual BOOL OnInitDialog();
  46. afx_msg void OnButtonAdd();
  47. afx_msg void OnButtonRemove();
  48. virtual void OnOK();
  49. afx_msg void OnSelchangeListUsers();
  50. //}}AFX_MSG
  51. DECLARE_MESSAGE_MAP()
  52. BOOL m_bDirty;
  53. private:
  54. void CEditUsers::RefreshList();
  55. public:
  56. CTapiDevice * m_pTapiDevice;
  57. };
  58. //{{AFX_INSERT_LOCATION}}
  59. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  60. #endif // !defined(AFX_EDITUSER_H__77C7FD5C_6CE5_11D1_93B6_00C04FC3357A__INCLUDED_)