Jump to content
  • Advertisement


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


Accelerator and dialogs

This topic is 5702 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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!