Determines whether the specified point lies within the specified rectangle
#include <WinAPIGdi.au3>
_WinAPI_PtInRectEx ( $iX, $iY, $iLeft, $iTop, $iRight, $iBottom )
| $iX | The x-coordinate of the point. |
| $iY | The y-coordinate of the point. |
| $iLeft | The x-coordinate of the upper-left corner of the rectangle. |
| $iTop | The y-coordinate of the upper-left corner of the rectangle. |
| $iRight | The x-coordinate of the lower-right corner of the rectangle. |
| $iBottom | The y-coordinate of the lower-right corner of the rectangle. |
| True: | the specified point lies within the rectangle. |
| False: | the specified point do not lie within the rectangle. |
Search PtInRect in MSDN Library.