I just found this out, and I haven't seen it documented so I just though I would put it here. When you create a menuitem, and you want to add a text indicating the keyboard shortcut for that option, just insert a TAB in the item text, like this:
MENYKEYS = CreateMenu ( "Keyboard Shortcuts" + Chr$(9) + "F1", MENU_KEYS, MENUHELP )It will send the last text to the right side of the menu item. All text will be aligned as well, so one tab is enough! I thought is was kinda neat =]