Advertisement

Alt-Tab

Started by July 26, 2000 04:54 PM
2 comments, last by ziplux 24 years, 4 months ago
Whenever I alt-tab out of my game, it stops responding and I have to use end task on it. When I try to click on it in the taskbar, it doesn''t come up. I''ve tried restoring the surfaces when it is restored, but that doesn''t work. Please help! My Geekcode: "GCS d s: a14 C++$ P+(++) L+ E-- W+++$ K- w++(+++) O---- M-- Y-- PGP- t X R- tv+ b++ DI+(+++) D- G e* h!" Decode my geekcode! Geekcode.com
Visit our web site: Asylum Entertainment
My Geekcode: "GCS d s: a14 C++$ P+(++) L+ E-- W+++$ K- w++(+++) O---- M-- Y-- PGP- t XR- tv+ b++ DI+(+++) D- G e* h!"Decode my geekcode!Geekcode.com
Visit our web site:Asylum Entertainment
Someone must be able to help! Other games have no problem at all with this.


My Geekcode: "GCS d s: a14 C++$ P+(++) L+ E-- W+++$ K- w++(+++) O---- M-- Y-- PGP- t X
R- tv+ b++ DI+(+++) D- G e* h!"
Decode my geekcode!
Geekcode.com


Visit our web site:
Asylum Entertainment
My Geekcode: "GCS d s: a14 C++$ P+(++) L+ E-- W+++$ K- w++(+++) O---- M-- Y-- PGP- t XR- tv+ b++ DI+(+++) D- G e* h!"Decode my geekcode!Geekcode.com
Visit our web site:Asylum Entertainment
Advertisement
Check your game logic for the WM_ACTIVATE message -- when you Alt-Tab from your game, you will get this message from windows along with a code telling you if you are gaining or losing the foreground-application focus.

Also, you may want to dig up some of the samples and see how they do it, and how it might be different from the way you are doing it.

// CHRIS
// CHRIS [win32mfc]
If you need further help check out nehe''s tutorials; number 1 windows

http://nehe.gamedev.net/opengl.asp

about 4/5 of the way down the page

-mike

--------------------
What a cheap way to boost my rank huh? ;)

This topic is closed to new replies.

Advertisement