Hotkeys Listed in Dialog App Menu
-
I have a dialog based applicattion, which uses hotkey accelerators. I used Nish's article concerning hotkeys with dialog based apps. It works fine, but I want to display the hotkey in the menu item that corresponds to the hotkey, as is standard in windows apps. Problem is, I can't get the text to line up on the right hand side, so all of the hotkeys are lined up on the right, like in most windows apps, like IE. Is there a way to set the menu item text so part of a second part of the text is lined up, so I can enter the hotkeys manually? Thanks!
-
I have a dialog based applicattion, which uses hotkey accelerators. I used Nish's article concerning hotkeys with dialog based apps. It works fine, but I want to display the hotkey in the menu item that corresponds to the hotkey, as is standard in windows apps. Problem is, I can't get the text to line up on the right hand side, so all of the hotkeys are lined up on the right, like in most windows apps, like IE. Is there a way to set the menu item text so part of a second part of the text is lined up, so I can enter the hotkeys manually? Thanks!
Try separating the text from the accelerator by using a tab. Ex: &My Menu Item\tCtrl+M