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.

60 lines
1.7 KiB

  1. #if !defined(AFX_DOMAINLISTDLG_H__7BEF53AE_FF9A_4626_9DF5_669D2190E700__INCLUDED_)
  2. #define AFX_DOMAINLISTDLG_H__7BEF53AE_FF9A_4626_9DF5_669D2190E700__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // DomainListDlg.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CDomainListDlg dialog
  10. class CDomainListDlg : public CDialog
  11. {
  12. // Construction
  13. public:
  14. CDomainListDlg(CWnd* pParent = NULL); // standard constructor
  15. void SetDomainListPtr(CStringList * pList) {pDomainList = pList;}
  16. void SetExcludeListPtr(CStringList * pList) {pExcludeList = pList;}
  17. // Dialog Data
  18. //{{AFX_DATA(CDomainListDlg)
  19. enum { IDD = IDD_DOMAINLIST_DLG };
  20. CTreeCtrl m_domainTree;
  21. CButton m_NextBtn;
  22. //}}AFX_DATA
  23. // Overrides
  24. // ClassWizard generated virtual function overrides
  25. //{{AFX_VIRTUAL(CDomainListDlg)
  26. protected:
  27. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  28. //}}AFX_VIRTUAL
  29. // Implementation
  30. protected:
  31. CStringList * pDomainList; //pointer to a list of domains in the table
  32. CStringList * pExcludeList; //pointer to a list of domains excluded
  33. BOOL bExcludeOne;
  34. // Generated message map functions
  35. //{{AFX_MSG(CDomainListDlg)
  36. virtual BOOL OnInitDialog();
  37. virtual void OnCancel();
  38. virtual void OnOK();
  39. //}}AFX_MSG
  40. DECLARE_MESSAGE_MAP()
  41. void FillTreeControl();
  42. void ModifyDomainList();
  43. HTREEITEM AddOneItem(HTREEITEM hParent, LPTSTR szText);
  44. void AddExclutedBackToList();
  45. };
  46. //{{AFX_INSERT_LOCATION}}
  47. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  48. #endif // !defined(AFX_DOMAINLISTDLG_H__7BEF53AE_FF9A_4626_9DF5_669D2190E700__INCLUDED_)