RE: [GD-Windows] os version
Brought to you by:
vexxed72
From: Brian S. <bs...@mi...> - 2002-02-12 02:04:54
|
The official stance is you can't disable it, so don't even try. = Unofficially, I know you can block it in some cases, but I still don't = think you can disable it in all cases on 2000/XP. And your users don't = really want you to disable it anyway. They want you to deactivate the = windows key so they don't hit that in a game, but people like to be able = to alt-tab away if they need to. Possibly Quake tears down everything when it loses focus - releases all = textures and shuts down GL - and then starts everything back up when it = gets focus back. That seems like a safe approach, at least. =20 They released the source to Quake 1, so you could look there... http://www.idsoftware.com/archives/sourcearc.html --brian > -----Original Message----- > From: Ignacio Casta=F1o [mailto:cas...@ya...] > Sent: Monday, February 11, 2002 5:55 PM > To: gam...@li... > Subject: Re: [GD-Windows] os version >=20 > Brian Sharon wrote: > > GetVersionEx(). > > > > Obligatory warning: You should ask yourself why you're looking for = this > > information. Logging the info to a file is fine. Making = assumptions > based > > on the installed version of the OS is really bad, and will break = later. > > Remember how all those games that should have worked with Windows = 2000 > > didn't, because people checked for (NT =3D=3D true) instead of just = seeing > if > > they could create their Direct3D devices? >=20 > Hmm... I just want to disable Alt+tab and other task switching keys, > according to the msdn there are three different methods depending on = the > windows version. Task switching is broken with some opengl drivers and = we > want to disable it if possible. Is there any other method that works = on > multiple windows versions? Quake3 and derivates seem to handle that > without > problems... |