SECShortcutBarComp::AddBarWnd

intSECShortcutBarComp::AddBarWnd(HWND&hWndClient, LPCTSTRlpszLabel, BOOLbUpdate)

Adds the window to the shortcutbar's client list. When using the windowed version of the shortcutbar, client windows should be created as children of the shortcutbar. However, when using the non-windowed version of the control, all client windows should be made children of the hosting parent.

Defined in: ShortcutBar.h

Return Value

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

Parameters

hWndClient

A reference to the client window's handle.

lpszLabel

The bar label.

bUpdate

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

See Also

AddBarVisual

InsertBarWnd

SECShortcutBarComp