GWToolbarItems

Enumerates the items on a toolbar.

Properties

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

Property

Access

Description

Count

R/O

Long.

_NewEnum

R/O

Enumeration object. Implements IEnumVARIANT. For Windows only.

Methods

GWToolbarItem Add( String Caption, GWCommand item [Variant AddBefore] )
GWToolbarItem Item( Variant item )
GWToolbarItem FindByID( Variant ID )

Remarks

While a toolbar is being loaded, the client calls CommandBlock::CreateCommandAggregate and invokes GWToolbarItems::Add.

Unlike menus, the Item and AddBefore parameters allow you to specify a persistent ID.