Determines whether the two specified rectangles are equal
#include <WinAPIGdi.au3>
_WinAPI_EqualRect ( $tRECT1, $tRECT2 )
| $tRECT1 | $tagRECT structure that contains the logical coordinates of the first rectangle. |
| $tRECT2 | $tagRECT structure that contains the logical coordinates of the second rectangle. |
| Success: | True - The two rectangles are identical. |
| Failure: | False. |
This function does not treat empty rectangles as equal if their coordinates are different.
Search EqualRect in MSDN Library.