right-aligned shortcuts in popup menu
-
How can I create a menu with right-aligned shortcuts? I mean a menu that looks as follows: ----------------- Search ----------------- Find Ctrl+F Find Next F3 <-- right-aligned Because a standard menu looks like this: ----------------- Search ----------------- Find Ctrl+F Find Next F3 <-- left-aligned
-
How can I create a menu with right-aligned shortcuts? I mean a menu that looks as follows: ----------------- Search ----------------- Find Ctrl+F Find Next F3 <-- right-aligned Because a standard menu looks like this: ----------------- Search ----------------- Find Ctrl+F Find Next F3 <-- left-aligned
shorcuts are automatically right aligned if they are assigned correctly to the menu item.
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
-
How can I create a menu with right-aligned shortcuts? I mean a menu that looks as follows: ----------------- Search ----------------- Find Ctrl+F Find Next F3 <-- right-aligned Because a standard menu looks like this: ----------------- Search ----------------- Find Ctrl+F Find Next F3 <-- left-aligned
-
I think you missed to put a tab character ("\t") in your menu definition. Menu item strings with shortcuts must look like this: "Find**\tCtrl+F", "Find Next\t**F3".
I have *.rc file with ... MENUITEM "Find\tCtrl+F", IDM_SEARCH_FIND MENUITEM "FindNext\tF3", IDM_SEARCH_FINDNEXT ... And the menu looks like this: |___________________| |_Find ______Ctrl+F_| |_Find_Next__F3_____| <-- F3 is left-aligned But I want the menu to look like this: |___________________| |_Find ______Ctrl+F_| |_Find_Next______F3_| <-- F3 is right-aligned
-
I have *.rc file with ... MENUITEM "Find\tCtrl+F", IDM_SEARCH_FIND MENUITEM "FindNext\tF3", IDM_SEARCH_FINDNEXT ... And the menu looks like this: |___________________| |_Find ______Ctrl+F_| |_Find_Next__F3_____| <-- F3 is left-aligned But I want the menu to look like this: |___________________| |_Find ______Ctrl+F_| |_Find_Next______F3_| <-- F3 is right-aligned
It seems that the current implementation of Windows’ built-in menus does not support alignment you requested. Some other custom menu engines support this, for instance one used in C# applications. In C++, you can try some third-party owner-drawn custom menus. For instance:
BCMenu
(http://www.codeproject.com/menu/bcmenu.asp[^]), which supports various features. Please see if it is suitable for you. Alternatively search for another one, if you are not going to implement you own menus. -
How can I create a menu with right-aligned shortcuts? I mean a menu that looks as follows: ----------------- Search ----------------- Find Ctrl+F Find Next F3 <-- right-aligned Because a standard menu looks like this: ----------------- Search ----------------- Find Ctrl+F Find Next F3 <-- left-aligned
Vitaliy, Sorry for this out-of-band contact but I didn't want to pollute the currently active github conversation, nor notify others that we had an out-of-band conversation. I assume you are the same as the author of the "SEH exception...global mock" bug report regarding GoogleTest? If so, I would like to chat with you. I am 'phonetagger'. Please contact me at: m m i n i c h 8 7 (atsign) yahoo dot com Hopefully I can delete this post once you've contacted me.
-
Vitaliy, Sorry for this out-of-band contact but I didn't want to pollute the currently active github conversation, nor notify others that we had an out-of-band conversation. I assume you are the same as the author of the "SEH exception...global mock" bug report regarding GoogleTest? If so, I would like to chat with you. I am 'phonetagger'. Please contact me at: m m i n i c h 8 7 (atsign) yahoo dot com Hopefully I can delete this post once you've contacted me.
...also sorry if I got your first & last names confused... I think I did. Sorry!