SECShortcutBar::SetBarMenu

Associates a menu with the bar at specified index. If index == -1, sets menu for all bars.

Defined in: olbar.cpp

Syntax

SetBarMenu( HMENU hMenu, int iIndex )

SetBarMenu( CMenu* pMenu, int iIndex, int iSubMenu )

Return Value

void

Parameters

hMenu

Handle to the menu to use

iIndex

index of the bar to use

pMenu

CMenu pointer to use

iSubMenu

If iSubMenu == -1, then can use pMenu directly.
If iSubMenu != -1, Get the submenu at location iSubMenu