Removes all groups and items from the control.

 

Syntax

rv = Send_Message(Ctrl, "OLE.Clear")

Remarks

The Clear method removes all groups and their items from the control. If you only want to delete specific groups, then use RemoveGroup instead. If you only want to delete a group's items, then use ClearGroup.

Example

// Clear the control 
Send_Message(@Window:".OLE_SHORTCUTBAR", "OLE.Clear")

See Also

ClearGroupRemoveGroup

  • No labels