[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 <[email protected]>
Co-authored-by: Thamatip Chitpong <[email protected]>
This commit is contained in:
Whindmar Saksit
2024-04-04 18:53:57 -07:00
committed by GitHub
co-authored by Stanislav Motylkov Thamatip Chitpong
parent 5b82ada2ed
commit 8841e3d7ba
4 changed files with 84 additions and 9 deletions
+8
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);
}