i did this with a mainmenu_group_popup:
the group and each command in it need to have a GUID
you basically derive from mainmenu_commands and return the guid of the group in get_parent and the guids of the commands in get_command
then you have to instanciate the commands and the group with
static mainmenu_commands_factory_t<derived_from_mainmenu_commands> foo;
static mainmenu_group_popup_factory mainmenu_group(guid_menu_group, mainmenu_groups::playback, mainmenu_commands::sort_priority_dontcare, "name_of_group");
where mainmenu_groups::playback is, where you want to see the menu group
i did this with a mainmenu_group_popup:
the group and each command in it need to have a GUID
you basically derive from mainmenu_commands and return the guid of the group in get_parent and the guids of the commands in get_command
then you have to instanciate the commands and the group with
static mainmenu_commands_factory_t<derived_from_mainmenu_commands> foo;
static mainmenu_group_popup_factory mainmenu_group(guid_menu_group, mainmenu_groups::playback, mainmenu_commands::sort_priority_dontcare, "name_of_group");
where mainmenu_groups::playback is, where you want to see the menu group
Thanks!