Function Reference


_WinAPI_DestroyWindow

Destroys the specified window

#include <WinAPISysWin.au3>
_WinAPI_DestroyWindow ( $hWnd )

Parameters

$hWnd Handle to the window to be destroyed

Return Value

Success: True
Failure: False, call _WinAPI_GetLastError() to get extended error information

Remarks

You cannot use _WinAPI_DestroyWindow() to destroy a window created by a different thread

Related

_WinAPI_CreateWindowEx

See Also

Search DestroyWindow in MSDN Library.