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 )
$hDC | Handle to the device context. |
$iXExtent | The window's horizontal extent in logical units. |
$iYExtent | The window's vertical extent in logical units. |
Success: | True |
Failure: | False |
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.
Search SetWindowExtEx in MSDN Library.