Disabling Alt Tab
by Tim Heldna · in Torque Game Engine · 04/19/2005 (5:31 am) · 25 replies
Just wondering if anyone knows how to disable the alt tab function so once your in the game, alt tab has no effect, and the only way to exit is to use the quit game button on your GUI.
If it helps i'm using vc6 for compiling.
If it helps i'm using vc6 for compiling.
About the author
#22
case WM_SYSCOMMAND:
switch (wParam)
{
case SC_KEYMENU : // TRAP ALT KEY
return FALSE;
case SC_SCREENSAVE: // DON'T LET SCREEN SAVER ACTIVATE
return FALSE;
}
break;
05/31/2005 (9:48 am)
@Tim alt is a sys command in windows give this a shotcase WM_SYSCOMMAND:
switch (wParam)
{
case SC_KEYMENU : // TRAP ALT KEY
return FALSE;
case SC_SCREENSAVE: // DON'T LET SCREEN SAVER ACTIVATE
return FALSE;
}
break;
#24
05/31/2005 (7:38 pm)
Thanks Todd :)
#25
Just put your resource in and it worked perfectly!!!
Thanks for contributing, i'm sure many people will be just as happy as i am with what you've done. Finally, the chapter is closed for video playback in Torque.
Well Done
06/01/2005 (5:25 am)
@ Todd D. DeganiJust put your resource in and it worked perfectly!!!
Thanks for contributing, i'm sure many people will be just as happy as i am with what you've done. Finally, the chapter is closed for video playback in Torque.
Well Done
Torque Owner Kenneth Porter