Search code examples
winformswinapimenualignmentshortcut

How do I right align the shortcut keys in Menu?


I add my menu items shortcut keys, but they are poorly arranged.

enter image description here

and I need to make it like this:

enter image description here


Solution

  • They are 'right' aligned, as you can see. (No pun intended).

    Right

    This is default behaviour for a menu. You'll need custom drawing to do it differently.