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 Tab Control:

MethodDescriptionVersion Introduced
AboutBoxDisplays the control's about box. 
AddTabAdds a tab to the control.3.1.1
HandleToIndexMaps a tab handle to its corresponding index.3.1.1
IndexToHandleMaps a tab index to its corresponding handle.3.1.1
RefreshRedraws the control. 
RemoveTabRemoves a tab from the control.3.1.1
ShowContextMenuDisplays a context menu at the given mouse point. 
UnsubclassCtrlUnsubclasses an OI control that the SRP Tab Control automatically subclassed. 
  • No labels