Function Reference


Modifies the window origin for a device context using the specified horizontal and vertical offsets

#include <WinAPIGdi.au3>
_WinAPI_OffsetWindowOrg ( $hDC, $iXOffset, $iYOffset )


$hDC Handle to the device context.
$iXOffset The horizontal offset, in logical units.
$iYOffset The vertical offset, in logical units.

Return Value

Success: True
Failure: False


Call _WinAPI_GetExtended() to retrieve a $tagPOINT structure containing the previous window origins.



See Also

Search OffsetWindowOrgEx in MSDN Library.