GWToolbarItem2

Allows you to create a toolbar button with a drop-down menu. Valid for GroupWise 2012.

Properties

The following table lists the properties for this class, along with access and descriptions.

Property

Access

Description

HMenu

R/W

The windows HMENU associated with this toolbar button.

Menu

R/O

The menu associated with this toolbar button.

Methods

BuildToolbarButtonMenu( string bstrContext,  GWMenu DispMenu)
  • Creates an empty toolbar drop-down menu. The caller can then add items and submenus as necessary. This method must be called before GWToolbarItem.SetBitmap to have any effect.

Remarks

None.