Mapping Accelerator to Dialog Boxes.
-
I can't seem to map my accelerator keys to my dialog. I have mapped the Accelerator 'Alt + 1' to my Dialog class but the functions are not being called? If I map the accelerator keys to my MainFrame (to try to forward them to my Dialog) then the functions are not called when the dialog box is displayed. No matter what I do I cannot seem to use accelerator keys when a dialog box is being displayed. I know I'm doing something stupid becuase I've seen this functionality before. Any ideas? Cheers Asim Hussain e: asim@jawache.net w: www.jawache.net
-
I can't seem to map my accelerator keys to my dialog. I have mapped the Accelerator 'Alt + 1' to my Dialog class but the functions are not being called? If I map the accelerator keys to my MainFrame (to try to forward them to my Dialog) then the functions are not called when the dialog box is displayed. No matter what I do I cannot seem to use accelerator keys when a dialog box is being displayed. I know I'm doing something stupid becuase I've seen this functionality before. Any ideas? Cheers Asim Hussain e: asim@jawache.net w: www.jawache.net
I should just RTFM before I start posting shouldn't I. Figured it out from here: http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q222/8/29.ASP&NoWebContent=1 Asim Hussain e: asim@jawache.net w: www.jawache.net