Function Reference


Returns the top/left coordinates of a $tagRECT as a $tagPOINT structure

#include <WinAPIConv.au3>
_WinAPI_PointFromRect ( ByRef $tRECT [, $bCenter = True] )


$tRECT $tagRECT structure
$bCenter [optional] If True, the return will be a point at the center of the rectangle, otherwise the left/top
coordinates are returned.

Return Value

Returns a $tagPOINT structure


This function is used to get the click position for many of the click functions