Version

Show(Rectangle,Int32,Boolean,Boolean,Boolean,Rectangle,Boolean,Boolean,Point,Boolean) Method

Adjusts the tool tip window's location and size according to the tool tip text set and displays the tool tip window. It will not decrease the size of the tool tip window if already set but increase it if necessary to display the full tool tip text. It display the tool tip window at specified point.
Syntax
'Declaration
 
Public Overloads Sub Show( _
   ByVal displayRect As Rectangle, _
   ByVal maxWidth As Integer, _
   ByVal adjustX As Boolean, _
   ByVal adjustY As Boolean, _
   ByVal adjustWidth As Boolean, _
   ByVal exclusionRect As Rectangle, _
   ByVal excludeX As Boolean, _
   ByVal excludeY As Boolean, _
   ByVal targetPoint As Point, _
   ByVal rightAlign As Boolean _
) 
public void Show( 
   Rectangle displayRect,
   int maxWidth,
   bool adjustX,
   bool adjustY,
   bool adjustWidth,
   Rectangle exclusionRect,
   bool excludeX,
   bool excludeY,
   Point targetPoint,
   bool rightAlign
)

Parameters

displayRect
preferred rectangle to display the tool tip in
maxWidth
The constraining width.
adjustX
dictate whether to adjust the x coordinates to fit the desktop
adjustY
dictate whether to adjust the x coordinates to fit the desktop
adjustWidth
Specifies whether to adjust the width to fit the contents.
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.
excludeX
excludeX indicates whether to use excluseionRect
excludeY
excludeY indicate swhether to use excluseionRect
targetPoint
point in screen coordinates
rightAlign
indicates whether to right align the toolip
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