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.4 KiB

  1. /*++
  2. Copyright (c) 1994-95 Microsoft Corporation
  3. Module Name:
  4. sdomdlg.h
  5. Abstract:
  6. Select domain dialog implementation.
  7. Author:
  8. Don Ryan (donryan) 20-Jan-1995
  9. Environment:
  10. User Mode - Win32
  11. Revision History:
  12. --*/
  13. #ifndef _SDOMDLG_H_
  14. #define _SDOMDLG_H_
  15. class CSelectDomainDialog : public CDialog
  16. {
  17. private:
  18. BOOL m_bIsFocusDomain;
  19. BOOL m_bAreCtrlsInitialized;
  20. public:
  21. DWORD m_fUpdateHint;
  22. public:
  23. CSelectDomainDialog(CWnd* pParent = NULL);
  24. void InitCtrls();
  25. void InsertDomains(HTREEITEM hParent, CDomains* pDomains);
  26. //{{AFX_DATA(CSelectDomainDialog)
  27. enum { IDD = IDD_SELECT_DOMAIN };
  28. CEdit m_domEdit;
  29. CTreeCtrl m_serverTree;
  30. CString m_strDomain;
  31. //}}AFX_DATA
  32. //{{AFX_VIRTUAL(CSelectDomainDialog)
  33. protected:
  34. virtual void DoDataExchange(CDataExchange* pDX);
  35. virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
  36. //}}AFX_VIRTUAL
  37. protected:
  38. //{{AFX_MSG(CSelectDomainDialog)
  39. virtual BOOL OnInitDialog();
  40. afx_msg void OnItemExpandingDomains(NMHDR* pNMHDR, LRESULT* pResult);
  41. afx_msg void OnSelChangedDomain(NMHDR* pNMHDR, LRESULT* pResult);
  42. afx_msg void OnDblclkDomain(NMHDR* pNMHDR, LRESULT* pResult);
  43. virtual void OnOK();
  44. afx_msg void OnReturnDomains(NMHDR* pNMHDR, LRESULT* pResult);
  45. //}}AFX_MSG
  46. DECLARE_MESSAGE_MAP()
  47. };
  48. #endif // _SDOMDLG_H_