mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 15:51:49 +00:00
disable autostart if the SHIFT key is pressed
svn path=/trunk/; revision=8223
This commit is contained in:
parent
7595e479e5
commit
a57cc3b82a
3 changed files with 7 additions and 2 deletions
|
@ -61,4 +61,5 @@ If you search for more information, look into the CVS repository.
|
|||
31.01.2004 m. fuchs included Registry as virtual file system
|
||||
02.02.2004 m. fuchs reading of FAT image files
|
||||
07.02.2004 m. fuchs included IE/Mozilla as Active X control
|
||||
08.02.3004 m. fuchs desktop switching
|
||||
08.02.2003 m. fuchs desktop switching
|
||||
16.02.200 m. fuchs lean explorer version without additional bells and whistles -> see CVS branch "lean-explorer"
|
||||
|
|
|
@ -625,6 +625,10 @@ int WINAPI _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdL
|
|||
|
||||
bool autostart = true;
|
||||
|
||||
// disable autostart if the SHIFT key is pressed
|
||||
if (GetAsyncKeyState(VK_SHIFT) < 0)
|
||||
autostart = false;
|
||||
|
||||
#ifdef _DEBUG //MF: disabled for debugging
|
||||
autostart = false;
|
||||
#endif
|
||||
|
|
|
@ -1597,7 +1597,7 @@ int StartMenuHandler::Command(int id, int code)
|
|||
|
||||
case IDC_CONTROL_PANEL:
|
||||
CloseStartMenu(id);
|
||||
MainFrame::Create(TEXT("::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{21EC2020-3AEA-1069-A2DD-08002B30309D}"), FALSE);
|
||||
MainFrame::Create(TEXT("::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{21EC2020-3AEA-1069-A2DD-08002B30309D}"), 0);
|
||||
break;
|
||||
|
||||
case IDC_ADMIN:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue