Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

OLE control methods provide convenient one-time operations to developers. Unlike properties, whose values are persistant 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:

MethodDescriptionVersion IntroducedPro Version Introduced
AboutBoxDisplays the control's about box.  
ClearRemoves all groups and items from the control.  
ClearGroupRemoves all items from a group.  
EmbedWindowEmbeds a window within a group  
EnsureVisibleScrolls an item into view.  
InsertGroupInserts a new group into the control.  
InsertItemInserts a new item into an existing group.  
RemoveGroupRemoves a group from the control.  
RemoveItemRemoves an item from a group.  
ShowContextMenuDisplays a context menu at the given mouse point.3.0.2