GWMenuSeparator

Indicates a menu separator.

Properties

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

Property

Access

Description

Caption

R/W

String. Always empty.

GWCommand

R/W

GWCommand. Always NULL.

ObjType

R/O

enumeration (always eGW_GWMENUSEPARATOR). Indicates the proper subtype of GWMenuItem( ) being referenced. For example, the GWMenuItems:Item method returns either a GWMenuAction or a GWMenu object, both of which are subtypes of GWMenuItem. The Objtype can be used to distinguish which object type has been returned.

Parent

R/O

GWMenuItems.

Methods

Delete( )
  • Deletes the GWMenuSeparator (which removes the item from the UI menu) and releases the AddRef on the GWCommand object.

Remarks

None.