Version

ShowToolTip(Control,Rectangle,Point) Method

Shows the UltraToolTip for the specified control.
Syntax
'Declaration
 
Public Overloads Sub ShowToolTip( _
   ByVal control As Control, _
   ByVal exclusionRect As Rectangle, _
   ByVal targetPoint As Point _
) 
public void ShowToolTip( 
   Control control,
   Rectangle exclusionRect,
   Point targetPoint
)

Parameters

control
The control whose tooltip will be displayed.
exclusionRect
A rect (in screen coordinates) which will be avoided when positioning the tooltip. Whenever possible, the tooltip will be positioned so that it does not obscure any part of the rect.
targetPoint
The target point (in screen coordinates) at which the tooltip will be shows. For a standard tooltip, this indicates the upper left corner of the tooltip window. For a BalloonTip, this indicates the point to which the callout will point.
Remarks

If there is no ToolTipInfo for the specified control, an System.ArgumentException is raised.

Note: An UltraToolTip will automatically hide when the AutoPopDelay expires, when a mouse button is clicked, or when the HideToolTip Method is called. It will also automatically hide when the mouse leaves the control for which it is shown. So if the mouse is not currently within the control passed into this method, it may cause unexpected results, as a MouseLeave will not occur unless the mouse enters and then leaves the control.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also