SECShortcutBarComp::AddBarVisual

intSECShortcutBarComp::AddBarVisual(TVisual*pClient, LPCTSTRlpszLabel, BOOLbUpdate)

Adds the visual client to the shortcutbar's client list. A visual client can be either an MVC viewport or an MVC visual component.

Defined in: ShortcutBar.h

Return Value

The return value is the zero-based index of the newly added client.

Parameters

pClient

Pointer to the visual client instance.

lpszLabel

The bar label.

bUpdate

If TRUE the shortcutbar is forced to update itself. Default is FALSE.

See Also

AddBarWnd

InsertBarVisual

SECShortcutBarComp