reactos/dll/win32/shell32
Jose Carlos Jesus b8c4d589b1
[SHELL32] Give opportunity to rename file/folder on its creation (#5139)
* [SHELL32] Fix issue when creating a new file or folder. No chance to rename the displayed name.

The CNewMenu::SelectNewItem method starts with a request to notify the View object about a new item by calling SHChangeNotify.
After creating and obtaining the new PIDL by calling ILFindLastID, the CDefView::SelectItem method is called.
This method fails right from the start when calling LV_FindItemByPidl which returns -1, thus preventing the user from being given the opportunity to change the name displayed by default.

This failure is due to the fact that this object has not yet been added to the CDefView::m_ListView list. This is caused by the asynchronous nature of SHChangeNotify.

Thanks to Giannis Adamopoulos for the big help.
2023-03-14 22:27:14 +01:00
..
dialogs [SHELL32] Prevent a second call to Drive Properties dialog (#4888) 2022-11-20 21:10:11 +03:00
droptargets [SHELL32] Fix Shift-Delete to Permanently Delete Files and Folders (#4004) 2022-05-05 17:30:06 +02:00
folders [SHELL32] Read the label for a CD from autorun.inf (#4945) 2022-12-20 22:30:09 +03:00
lang [SHELL32] Move error message to rc files so can be translated (CORE-18786) (#4997) 2023-02-23 09:43:53 +09:00
res 🎊 🍾 🥳 Happy New Year 2023 to the ReactOS Community! 🎆 ⚛️ ☢️ 2023-01-01 00:00:00 +03:00
shelldesktop [EXPLORER][BROWSEUI][SHELL32][NETSHELL] Fix wrong usage of CComPtr 2022-10-02 00:38:23 +02:00
shellmenu [SHELL32] Add check to CMenuToolbarBase::ShowDW 2023-01-04 10:32:28 +01:00
shellrecyclebin
wine [SHELL32][SHELL32_APITEST] Improve CommandLineToArgvW (#5055) 2023-02-14 20:53:48 +09:00
avi_res.rc
bitmap_res.rc
CActiveDesktop.cpp
CActiveDesktop.h
CCopyToMenu.cpp [SHELL32] Follow-up of #5008 (8e036fe) 2023-01-30 08:01:15 +09:00
CCopyToMoveToMenu.h
CDefaultContextMenu.cpp [SHELL32] Give opportunity to rename file/folder on its creation (#5139) 2023-03-14 22:27:14 +01:00
CDefView.cpp [SHELL32] Give opportunity to rename file/folder on its creation (#5139) 2023-03-14 22:27:14 +01:00
CDefViewBckgrndMenu.cpp
CDefViewDual.cpp
CDropTargetHelper.cpp
CDropTargetHelper.h
CEnumIDListBase.cpp
CEnumIDListBase.h
CExtractIcon.cpp
CFileSysBindData.cpp
CFolder.cpp
CFolder.h
CFolderItems.cpp [EXPLORER][BROWSEUI][SHELL32][NETSHELL] Fix wrong usage of CComPtr 2022-10-02 00:38:23 +02:00
CFolderItems.h
CFolderItemVerbs.cpp [SHELL32] CFolderItemVerb: Zero-initialize output parameters 2022-10-14 21:04:19 +02:00
CFolderItemVerbs.h
CFolderOptions.cpp
CFolderOptions.h
changenotify.cpp
CIDLDataObj.cpp
CMakeLists.txt [MSPAINT][EXPLORER][SHELL32] Enable ATL asserts in CMake 2022-09-10 17:27:50 +02:00
CMoveToMenu.cpp [SHELL32] Follow-up of #5008 (8e036fe) 2023-01-30 08:01:15 +09:00
CNewMenu.cpp [SHELL32] Give opportunity to rename file/folder on its creation (#5139) 2023-03-14 22:27:14 +01:00
CNewMenu.h
COpenWithMenu.cpp [REACTOS] Add '\n' to debug logs 2022-05-04 03:28:38 +03:00
COpenWithMenu.h
CQueryAssociations.cpp
CQueryAssociations.h
CSendToMenu.cpp [SHELL32] Follow-up of #5008 (8e036fe) 2023-01-30 08:01:15 +09:00
CSendToMenu.h
CShellDispatch.cpp
CShellDispatch.h
CShellItem.cpp
CShellItem.h
CShellLink.cpp [SHELL32] Prevent use after free 2022-09-23 23:07:26 +02:00
CShellLink.h
CUserNotification.cpp
CUserNotification.h
debughlp.cpp
debughlp.h
folders.cpp
icon_res.rc
iconcache.cpp
precomp.h [MSPAINT][EXPLORER][SHELL32] Enable ATL asserts in CMake 2022-09-10 17:27:50 +02:00
rgs_res.rc
shell32.cpp
shell32.rc
shell32.spec
shell32_shldisp.idl
shell32_version.h
shell32_version.rc
shfldr.h
shldataobject.cpp
shlexec.cpp [SHLWAPI] No need extension to execute '.bat' files CORE-17612 (#4932) 2023-02-11 00:05:11 +09:00
shlfileop.cpp [SHELL32] Copy without FILE_ATTRIBUTE_READONLY from a CDROM 2022-04-09 01:21:57 +02:00
shlfolder.cpp [SHELL32] Remove unused function 2022-10-15 00:01:45 +02:00
shobjidl_local.idl
shresdef.h [SHELL32] Move error message to rc files so can be translated (CORE-18786) (#4997) 2023-02-23 09:43:53 +09:00
stubs.cpp
systray.cpp
vista.c