OLE control methods provide convenient one-time operations to developers. Unlike properties, whose values are persistent over the life of a control, methods represent actions that a control can perform. Often, methods will change the values of other control properties, so be sure to read the Remarks section of each method carefully. The following methods apply to the SRP ShortcutBar Control:
Method | Description | Version Introduced |
---|---|---|
AboutBox | Displays the control's about box. | |
Clear | Removes all groups and items from the control. | |
ClearGroup | Removes all items from a group. | |
EmbedWindow | Embeds a window within a group | |
EnsureVisible | Scrolls an item into view. | |
InsertGroup | Inserts a new group into the control. | |
InsertItem | Inserts a new item into an existing group. | |
RemoveGroup | Removes a group from the control. | |
RemoveItem | Removes an item from a group. | |
ShowContextMenu | Displays a context menu at the given mouse point. |