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.

62 lines
1.4 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& sName,
  22. CString& sFilter,
  23. CString& sPath,
  24. CString& sConnectPath,
  25. BOOL bOneLevel,
  26. CCredentialObject* pCredObject);
  27. CADSIEditQueryDialog(CString& sConnectPath, CCredentialObject* pCredObject);
  28. ~CADSIEditQueryDialog();
  29. void GetResults(CString& sName, CString& sFilter, CString& sPath, BOOL* pbOneLevel);
  30. protected:
  31. virtual BOOL OnInitDialog();
  32. void OnEditQueryString();
  33. void OnEditNameString();
  34. void OnOneLevel();
  35. void OnSubtree();
  36. void OnBrowse();
  37. void OnEditQuery();
  38. void GetDisplayPath(CString& sDisplay);
  39. DECLARE_MESSAGE_MAP()
  40. private:
  41. CString m_sName;
  42. CString m_sFilter;
  43. CString m_sRootPath;
  44. CString m_sConnectPath;
  45. BOOL m_bOneLevel;
  46. CCredentialObject* m_pCredObject;
  47. };
  48. #endif _QUERYUI_H