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


Accelerator and dialogs

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