Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

vince

Capturing ALT-TAB and Windows key?

This topic is 6950 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
Just tried it. That doesn't catch ALT-TAB. It may catch the Windows key but I'm not on a computer that has one at the moment.

------------------
-vince


Share this post


Link to post
Share on other sites
Anyone have some source code for catching ALT-TAB and the Windows key on Win95+98? We've tried the M$ suggested method of running as a screensaver but it doesn't seem to work all of the time.

I know it can be done since Half-Life does it.

------------------
-vince

Share this post


Link to post
Share on other sites
Hmmm... OK...

What happens if you override (for MFC) or don't call (for Win32) the function "TranslateMessage"?

Does it still Alt+Tab?

ps - the actual message is WM_SYSCOMMAND, tho if SYSKEY didn't do it I doubt this one would. It looks like you can, however, block a screen saver via WM_SYSCOMMAND.

Mason McCuskey
Spin Studios
www.spin-studios.com

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!