Function Reference


_WinAPI_CreateWindowEx

Creates an overlapped, pop-up, or child window

#include <WinAPISysWin.au3>
_WinAPI_CreateWindowEx ( $iExStyle, $sClass, $sName, $iStyle, $iX, $iY, $iWidth, $iHeight, $hParent [, $hMenu = 0 [, $hInstance = 0 [, $pParam = 0]]] )

Parameters

$iExStyle Extended window style
$sClass Registered class name
$sName Window name
$iStyle Window style
$iX Horizontal position of window
$iY Vertical position of window
$iWidth Window width
$iHeight Window height
$hParent Handle to parent or owner window
$hMenu [optional] Handle to menu or child-window identifier
$hInstance [optional] Handle to application instance
$pParam [optional] Pointer to window-creation data

Return Value

Success: The handle to the new window
Failure: 0, call _WinAPI_GetLastError() to get extended error information

Related

_WinAPI_DestroyWindow

See Also

Search CreateWindowEx in MSDN Library.