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.

64 lines
1.5 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1999 - 1999
  6. //
  7. // File: queryui.h
  8. //
  9. //--------------------------------------------------------------------------
  10. //////////////////////////////////////////////////////////////////////////////
  11. // queryui.h
  12. #ifndef _QUERYUI_H
  13. #define _QUERYUI_H
  14. #include "editor.h"
  15. /////////////////////////////////////////////////////////////////////////////
  16. // CADSIEditConnectPropertyPage
  17. class CADSIEditQueryDialog : public CDialog
  18. {
  19. // Construction
  20. public:
  21. CADSIEditQueryDialog(CString& szServer,
  22. CString& sName,
  23. CString& sFilter,
  24. CString& sPath,
  25. CString& sConnectPath,
  26. BOOL bOneLevel,
  27. CCredentialObject* pCredObject);
  28. CADSIEditQueryDialog(CString& szServer, CString& sConnectPath, CCredentialObject* pCredObject);
  29. ~CADSIEditQueryDialog();
  30. void GetResults(CString& sName, CString& sFilter, CString& sPath, BOOL* pbOneLevel);
  31. protected:
  32. virtual BOOL OnInitDialog();
  33. void OnEditQueryString();
  34. void OnEditNameString();
  35. void OnOneLevel();
  36. void OnSubtree();
  37. void OnBrowse();
  38. void OnEditQuery();
  39. void GetDisplayPath(CString& sDisplay);
  40. DECLARE_MESSAGE_MAP()
  41. private:
  42. CString m_sName;
  43. CString m_sFilter;
  44. CString m_sRootPath;
  45. CString m_sConnectPath;
  46. CString m_szServer;
  47. BOOL m_bOneLevel;
  48. CCredentialObject* m_pCredObject;
  49. };
  50. #endif _QUERYUI_H