[SHELL32] Fix SHBrowseForFolder new UI layout (#3533)

CORE-17507

- Change layout of resource dialogs IDD_BROWSE_FOR_FOLDER_NEW.
- Delete IDC_BROWSE_FOR_FOLDER_FOLDER control.
- Fix focus.
- Add ES_NOHIDESEL style to IDC_BROWSE_FOR_FOLDER_FOLDER_TEXT control.
- Add TVS_SHOWSELALWAYS style to IDC_BROWSE_FOR_FOLDER_TREEVIEW control.
- Fix assertion failure in LayoutUpdate function in <layout.h>.
This commit is contained in:
Katayama Hirofumi MZ 2021-03-15 07:13:03 +09:00 committed by GitHub
parent e1a5ba188e
commit 2d066c93fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
36 changed files with 100 additions and 103 deletions

View file

@ -189,7 +189,7 @@ LayoutUpdate(HWND ignored1, LAYOUT_DATA *pData, LPCVOID ignored2, UINT ignored3)
UNREFERENCED_PARAMETER(ignored1);
UNREFERENCED_PARAMETER(ignored2);
UNREFERENCED_PARAMETER(ignored3);
if (pData == NULL)
if (pData == NULL || !pData->m_hwndParent)
return;
assert(IsWindow(pData->m_hwndParent));
_layout_ArrangeLayout(pData);