###User Defined Function###
_GUIToolTip_AdjustRect

###Description###
Calculates the text display rectangle from the window rectangle

###Syntax###
#include <GuiToolTip.au3>
_GUIToolTip_AdjustRect ( $hWnd, ByRef $tRect [, $fLarger = True] )


###Parameters###
@@ParamTable@@
$hWnd
	Handle to the ToolTip control (returned by <a href ="_GUIToolTip_Create.htm">_GUIToolTip_Create.</a>)
$tRect
	$tagRECT structure that holds a window or text display rectangle
$fLarger
	[optional] Value that specifies which operation to perform. If True, $tRect is used to specify a text display rectangle and it receives the corresponding window rectangle. If False, $tRect is used to specify a window rectangle and it receives the corresponding text display rectangle.
@@End@@

###ReturnValue###
Returns a $tagRECT structure.


###Remarks###
The ToolTip's window rectangle is somewhat larger than the text display rectangle that bounds the ToolTip string.
The window origin is also offset up and to the left from the origin of the text display rectangle.
To position the text display rectangle, you must calculate the corresponding window rectangle and use that rectangle to position the ToolTip.
<a href="_GUIToolTip_AdjustRect.htm">_GUIToolTip_AdjustRect()</a> handles this calculation for you.
If you set $fLarger to True, <a href="_GUIToolTip_AdjustRect.htm">_GUIToolTip_AdjustRect()</a> takes the size and position of the desired ToolTip text display rectangle, and passes back the size and position of the ToolTip window needed to display the text in the specified position.
If you set $fLarger to False you can specify a ToolTip window rectangle and <a href="_GUIToolTip_AdjustRect.htm">_GUIToolTip_AdjustRect()</a> will return the size and position of its text rectangle.


###Related###
None.