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.

51 lines
1.2 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 1999
  6. //
  7. // File: renameui.h
  8. //
  9. //--------------------------------------------------------------------------
  10. //////////////////////////////////////////////////////////////////////////////
  11. // renameui.h
  12. #ifndef _RENAMEUI_H
  13. #define _RENAMEUI_H
  14. #include "editor.h"
  15. /////////////////////////////////////////////////////////////////////////////
  16. // CADSIEditConnectPropertyPage
  17. class CADSIEditRenameDialog : public CDialog
  18. {
  19. // Construction
  20. public:
  21. CADSIEditRenameDialog(CTreeNode* pCurrentNode,
  22. CADsObject* pADsObject,
  23. CString sCurrentPath,
  24. LPWSTR lpszNewName);
  25. ~CADSIEditRenameDialog();
  26. protected:
  27. virtual BOOL OnInitDialog();
  28. virtual void OnOK();
  29. HRESULT EscapePath(CString& sEscapedName, const CString& sName);
  30. void CrackPath(const CString& szPath, CString& sDN);
  31. CString m_sPrefix;
  32. CString m_sPostfix;
  33. CADsObject* m_pADsObject;
  34. CString m_sCurrentPath;
  35. CString m_sNewName;
  36. CTreeNode* m_pCurrentNode;
  37. DECLARE_MESSAGE_MAP()
  38. };
  39. #endif _RENAMEUI_H