Function Reference


_WinAPI_SetWindowOrg

Specifies which window point maps to the viewport origin (0,0)

#include <WinAPIGdi.au3>
_WinAPI_SetWindowOrg ( $hDC, $iX, $iY )

Parameters

$hDC Handle to the device context.
$iX The x-coordinate, in logical units, of the new window origin.
$iY The y-coordinate, in logical units, of the new window origin.

Return Value

Success: True
Failure: False

Remarks

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

Related

_WinAPI_GetExtended

See Also

Search SetWindowOrgEx in MSDN Library.