How to add keyboard shortcuts to Menu in an SDI application?
Some of the things that i have tried is :
say Context menu has a sub menu called Menu1 , i have
mentioned it as &Menu1 which makes Ctrl + M as keyboard short
cut for it [ but this apporach is not working ] , Second thing which
i would not like to do is capture the key board event and then call
appropriate method. Any other solution?
koushal.vv
0
Light Poster
Recommended Answers
Jump to Postsay Context menu has a sub menu called Menu1 , i have
mentioned it as &Menu1 which makes Ctrl + M as keyboard short
cut for itNo, the '&' does not make Ctrl+M as your keyboard short cut. I think what you are looking for is an "accelerator key".
Jump to PostYou can configure something like Strg + Alt + M as keyboard short cut in the resource file but you can't use combinations with two characters
All 5 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.