2009-05-12 03:25 PM - last edited on 2023-08-03 05:16 PM by Doreena Deng
'STR#' 32500 "Strings for the Menu" { /* [ ] */ "Menu name" /* [ 1] */ "item 1" /* [ 2] */ "item2" }and menu was placed as submenu of "Options".
2009-05-12 09:28 PM
equilibrium wrote:You can specify the menu position with the
...menu was placed as submenu of "Options".
How can I move my menu one level up? What can I do with "32500" number?
2009-05-13 11:21 AM
2009-05-13 11:59 AM
MyMenu `SubMenu ``SubSubMenu1 ``SubSubMenu2 ``... ``SubSubMenuNBut I want to create menu like this:
MyMenu `SubMenu1 `SubMenu2 `... `SubMenuNOne way - it's creation of N 'STR#' sections in my .grc file like this:
'STR#' 32500 "Strings for the Menu" { /* [ ] */ "MyMenu" /* [ 1] */ "SubMenuN" }Than register them all and use own MenuHandler for each SubMenu.
2009-05-13 04:12 PM
equilibrium wrote:No - that's the way it works.
I was moved my menu on top level and now have next menu: One way - it's creation of N 'STR#' sections in my .grc file like this:'STR#' 32500 "Strings for the Menu" { /* [ ] */ "MyMenu" /* [ 1] */ "SubMenuN" }Than register them all and use own MenuHandler for each SubMenu.
But it's unwieldy way - I should to create new MenuHandler when add new SubMenu anytime. Can you suggest more acceptable way? Thanks
2009-05-13 04:32 PM