Game Development Community

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.
Page«First 1 2 Next»
#21
05/12/2005 (2:48 pm)
Just want to mention another use case addressing the original issue: Map loading. It takes a long time for the games I play and I find it particularly frustrating when the game doesn't let me alt-tab out to check mail and forums while I wait. BF42, for instance. Lately I've set up my laptop on the adjacent desk to put up with this.
#22
05/31/2005 (9:48 am)
@Tim alt is a sys command in windows give this a shot

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;
#23
05/31/2005 (10:24 am)
@Tim & Jackie
The resource I put together for the DirectShow support finally got approved. You can find it here.
#24
05/31/2005 (7:38 pm)
Thanks Todd :)
#25
06/01/2005 (5:25 am)
@ Todd D. Degani

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
Page«First 1 2 Next»