Determines whether the specified point lies within the specified rectangle
#include <WinAPIGdi.au3>
_WinAPI_PtInRect ( ByRef $tRECT, ByRef $tPoint )
$tRECT | $tagRECT structure that contains the specified rectangle |
$tPoint | $tagPOINT structure that contains the specified point |
True: | point lies within the rectangle |
False: | point does not lie within the rectangle |
Search PtInRect in MSDN Library.