Jump to content
  • Advertisement


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


Accelerator and dialogs

This topic is 5621 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 currently have a little program that consists of a modal dialog only, no "regular" windows. It has a fancy little menu and now I want to use an accelerator table to make it easier to select stuff from the menu. I''ve done this in regular windows (where you use the TranslateAccelerator-function in the main loop) but how am I supposed to do it now when Im not handling messages in a window? Of course I could use do it with WM_KEYDOWN-messages instead, but that would require more work. Is there any (easy) way to do this? "He who hasn''t hacked assembly language as a youth has no heart. He who does as an adult has no brain."

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!