Function Reference


_WinAPI_PointFromRect

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

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

Parameters

$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

Remarks

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