Advertisement

ALT+TAB and Windows

Started by December 24, 2000 09:32 AM
4 comments, last by Andrea 23 years, 10 months ago
Do you know how to disable ALT+TAB key combination under Windows 9x and OpenGL in fulscreen mode? I''ve read an article from Microsoft but it works only for WS_POPUPWINDOW style window. In practice you should disable other windows and specify that a screensaver is running. But I need WS_POPUP to obtain ''hardware fullscreen mode'' (if I use other styles I obtain a fullscreen that is not the right one). I think that ALT+TAB is a real problem...if you press the combination you go to the desktop and you are not able to return to the application (you must terminate it with CTRL+ALT+DEL). Any idea about how to disable ALT+TAB or to resume the application after the evil combination? Thanks!
IpSeDiXiT
SystemParametersInfo(SPI_SCREENSAVERRUNNING, 1, 0, 0);

This function disable: alt+ctrl+del, alt+tab... and more (not alt+F4). If it doesn''t work change 1 to 0.

PS: Don''t forget to disable it!
Advertisement
quote: Original post by Andrea

I think that ALT+TAB is a real problem...if you press the combination you go to the desktop and you are not able to return to the application (you must terminate it with CTRL+ALT+DEL).



This sounds quite strange... :-?

Fullscreen DirectX applications of mine does not suffer for this problem...





[home page] [e-mail]

---
"Lifting shadows off a dream once broken
She can turn a drop of water into an ocean"
---[home page] [[email=karmalaa@inwind.it]e-mail[/email]]
Hmmm... That''s an interesting problem. I''ve never had problems switching form a fullscreen app to another window and back. A guess would be a badly written driver or your card can''t keep the fullscreen rendering context when you switch out of the application. It probably looses the context and can''t get it back. I use WS_POPUP in my programs as well! I did note however that I can''t alt-tab back to the application as WS_POPUP windows don''t get a system icon on the task switcher! You can however get back to the program by clicking it''s button on the task bar!
Try that once and see if you can get back into the program? I simple solution you just might have overlooked?
------------------------------Piggies, I need more piggies![pig][pig][pig][pig][pig][pig]------------------------------Do not invoke the wrath of the Irken elite. [flaming]
Hmmm... That''s an interesting problem. I''ve never had problems switching form a fullscreen app to another window and back. A guess would be a badly written driver or your card can''t keep the fullscreen rendering context when you switch out of the application. It probably looses the context and can''t get it back. I use WS_POPUP in my programs as well! I did note however that I can''t alt-tab back to the application as WS_POPUP windows don''t get a system icon on the task switcher! You can however get back to the program by clicking it''s button on the task bar!
Try that once and see if you can get back into the program? I simple solution you just might have overlooked?
------------------------------Piggies, I need more piggies![pig][pig][pig][pig][pig][pig]------------------------------Do not invoke the wrath of the Irken elite. [flaming]
By the way, how do you disable alt tab but not Ctrl alt del
(you can find me on IRC : #opengl on undernet)

This topic is closed to new replies.

Advertisement