• Advertisement

Archived

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

LOCK ALT+TAB

This topic is 5745 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

I need lock ALT + TAB in my DirectX program because the program crash it if this keys are pressed, how I can disable this key, I trying using systemparameterinfo api, but this not work well or wrong parameters. Please help to solve this problem. Thanks !!! Ing. Mike

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
What is ur cooperation level? You can try taking full control of the keyboard from windows, but this may cause some problems that you dont want.

Share this post


Link to post
Share on other sites
just tell windows your running a screen saver (research this on to do this on google). just make sure you disable yoru screen saver status afterwards or ppl wont be able to use alt-tab or crtl-alt-del. i think though your should fix your alt-tab crashign instead.

Share this post


Link to post
Share on other sites
I know that this wasn''t the question, but why not make it so your program doesn''t crash when you press alt-tab. I know I like being able to switch between applications, and I get a bit cheesed off if something stops me from doing it. Check the SDK, all their examples will allow you to alt-tab in and out without crashing.

Trying is the first step towards failure.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
yes, but look at the rainbow six/blackthorn game. Not all games support alt-tab and are still fun to play.

Share this post


Link to post
Share on other sites
Yeah windows apps are supposed to handle alt-tab, alt-enter, etc.

Share this post


Link to post
Share on other sites
quote:
Original post by ragonastick
I know that this wasn''t the question, but why not make it so your program doesn''t crash when you press alt-tab. I know I like being able to switch between applications, and I get a bit cheesed off if something stops me from doing it. Check the SDK, all their examples will allow you to alt-tab in and out without crashing.

Trying is the first step towards failure.


YES, I WOULD LIKE THIS BUT I DON''T KNOW HOW I CAN SOLVE THIS, IN FACT THAT WAS MY FIRTS SOLUTION, BUT I COULDN''T, BUT I WILL TRY AGAIN !!!

ONE QUESTION, THE ON ERROR FUNCTION ALSO CAPTURE THE DIRECTX ERRORS ????


THANKS !!!

Ing. Mike

Share this post


Link to post
Share on other sites

  • Advertisement