Function Reference


_WinAPI_SetWindowExt

Sets the horizontal and vertical extents of the window for a device context by using the specified values

#include <WinAPIGdi.au3>
_WinAPI_SetWindowExt ( $hDC, $iXExtent, $iYExtent )

Parameters

$hDC Handle to the device context.
$iXExtent The window's horizontal extent in logical units.
$iYExtent The window's vertical extent in logical units.

Return Value

Success: True
Failure: False

Remarks

The _WinAPI_SetWindowExt() works only if $MM_ANISOTROPIC or $MM_ISOTROPIC mapping modes are set, otherwise,
calls to this function are ignored.

Call _WinAPI_GetExtended() to retrieve a $tagSIZE structure containing the previous window extents.

Related

_WinAPI_GetExtended

See Also

Search SetWindowExtEx in MSDN Library.