# Function Reference

# _WinAPI_OffsetRect

Moves the specified rectangle by the specified offsets

#include <WinAPIGdi.au3>
_WinAPI_OffsetRect ( ByRef $tRECT, $iDX, $iDY )

## Parameters

$tRECT | $tagRECT structure that to be moved.
$iDX | The amount to move the rectangle left (negative value) or right.
$iDY | The amount to move the rectangle up (negative value) or down.

## Return Value

Success: | True
Failure: | False

## See Also

Search OffsetRect in MSDN Library.