Funktionreferenz


_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 )

Parameter

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

Rückgabewert

Success: True
Failure: False

Bemerkungen

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.

Verwandte Funktionen

_WinAPI_GetExtended

Siehe auch

Suche nach SetWindowExtEx in der MSDN Bibliothek.