windows-nt/Source/XPSP1/NT/admin/snapin/adsiedit/renameui.h

52 lines
1.2 KiB
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
//+-------------------------------------------------------------------------
//
// Microsoft Windows
//
// Copyright (C) Microsoft Corporation, 1998 - 1999
//
// File: renameui.h
//
//--------------------------------------------------------------------------
//////////////////////////////////////////////////////////////////////////////
// renameui.h
#ifndef _RENAMEUI_H
#define _RENAMEUI_H
#include "editor.h"
/////////////////////////////////////////////////////////////////////////////
// CADSIEditConnectPropertyPage
class CADSIEditRenameDialog : public CDialog
{
// Construction
public:
CADSIEditRenameDialog(CTreeNode* pCurrentNode,
CADsObject* pADsObject,
CString sCurrentPath,
LPWSTR lpszNewName);
~CADSIEditRenameDialog();
protected:
virtual BOOL OnInitDialog();
virtual void OnOK();
HRESULT EscapePath(CString& sEscapedName, const CString& sName);
void CrackPath(const CString& szPath, CString& sDN);
CString m_sPrefix;
CString m_sPostfix;
CADsObject* m_pADsObject;
CString m_sCurrentPath;
CString m_sNewName;
CTreeNode* m_pCurrentNode;
DECLARE_MESSAGE_MAP()
};
#endif _RENAMEUI_H