mirror of
https://github.com/reactos/reactos.git
synced 2025-07-29 09:01:58 +00:00
[DESK][CONTROL] Select property pages by command line, for example 'control desk.cpl,,1' and fix 'control color'
This commit is contained in:
parent
7a98d28d7f
commit
a88d7b5c2f
2 changed files with 9 additions and 2 deletions
|
@ -86,7 +86,7 @@ wWinMain(HINSTANCE hInstance,
|
|||
|
||||
/* Check one of the built-in control panel handlers */
|
||||
if (!_wcsicmp(lpCmdLine, L"admintools")) return OpenShellFolder(L"\\::{D20EA4E1-3957-11d2-A40B-0C5020524153}");
|
||||
else if (!_wcsicmp(lpCmdLine, L"color")) return RunControlPanel(L"desk.cpl"); /* TODO: Switch to the "Apperance" tab */
|
||||
else if (!_wcsicmp(lpCmdLine, L"color")) return RunControlPanel(L"desk.cpl,,2");
|
||||
else if (!_wcsicmp(lpCmdLine, L"date/time")) return RunControlPanel(L"timedate.cpl");
|
||||
else if (!_wcsicmp(lpCmdLine, L"desktop")) return RunControlPanel(L"desk.cpl");
|
||||
else if (!_wcsicmp(lpCmdLine, L"folders")) return RUNDLL(L"shell32.dll,Options_RunDLL");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue