Jump to content
  • Advertisement

Archived

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

meselfs

Disable alt key menu?

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

Hi, I'm writing an OGL app that is run windowed only. I want it to respond to the alt key (VK_MENU), but when I press the alt key the little menu at the top right of the window turns on. How can this be disabled? Edit: So it looks like it's impossible for a user to delete his/her thread? Could a moderator remedy this? [edited by - meselfs on June 10, 2004 11:34:33 PM]

Share this post


Link to post
Share on other sites
Advertisement
2 things:

1) Go to the 2nd post & click on edit, sign in... into the post at least if you aren''t signed into the gamedev forums. then you''ll notice a box that allows you specify if you''ve double posted & it will delete for you.

2) You have to catch the ''alt'' key presses & handle them yourself & don''t pass them along for windows to handle. A list of virtual keys can be found here:

http://nehe.gamedev.net/data/articles/article.asp?article=09

Share this post


Link to post
Share on other sites
Would it be possible to disable the menu?

Btw, concerning the other post I did just that before I edited, it deleted the post but not the thread.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
I would think that if you handled the "ALT" key press yourself... & by that I mean that you don''t even have to do anything with it, just make sure you don''t pass along that keypress event to windows... it should effectively disable the "menu" that you speak of. Am I way off in left field here?

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!