Function Reference


Retrieves the x-coordinates and y-coordinates of the window origin for the specified device context

#include <WinAPIGdi.au3>
_WinAPI_GetWindowOrg ( $hDC )


$hDC Handle to the device context.

Return Value

Success: $tagPOINT structure that contains the coordinates, in logical units, of the window origin.
Failure: Sets the @error flag to non-zero.

See Also

Search GetWindowOrgEx in MSDN Library.