Advertisement

Disable alt key menu?

Started by June 10, 2004 10:32 PM
2 comments, last by meselfs 20 years, 5 months ago
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]
meselfs himself!
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

Whatsoever you do, do it heartily as to the Lord, and not unto men.
Advertisement
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.
meselfs himself!
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?

This topic is closed to new replies.

Advertisement