[SHELL32] Handle the Progman Folder options message and tab switching support (#5574)

* Handle the "OnShowOptionsDlg" message
* Support switching tabs
* Update dll/win32/shell32/dialogs/folder_options.cpp
* Update dll/win32/shell32/shelldesktop/CDesktopBrowser.cpp
* ShowFolderOptionsDialog workaround
* Added Vista pages, define for magic message

---------

Co-authored-by: Stanislav Motylkov <x86corez@gmail.com>
Co-authored-by: Thamatip Chitpong <weedgamer131@gmail.com>
This commit is contained in:
Whindmar Saksit
2024-04-05 03:53:57 +02:00
committed by GitHub
parent 5b82ada2ed
commit 8841e3d7ba
4 changed files with 84 additions and 9 deletions

View File

@@ -274,3 +274,11 @@ LPVOID *ppv)
return ShellObjectCreatorInit<CRShellClassFactory>(rclsid, riid, ppv);
}
VOID WINAPI ShowFolderOptionsDialog(UINT Page, BOOL Async)
{
char buf[MAX_PATH];
wsprintfA(buf, "rundll32.exe shell32.dll,Options_RunDLL %u", Page);
WinExec(buf, SW_SHOW);
}