CloseWindow()

Syntax

CloseWindow(#Window)
Description
Close the specified window.

Parameters

#Window The window to close. If #PB_All is specified, all the remaining windows are closed.

Return value

None.

Remarks

All remaining opened windows are automatically closed when the program ends.

Note: The following items created for a window are also automatically freed when the window is closed: Gadgets, Keyboard shortcuts, Menus, StatusBars, Timers, Toolbars and binded events (with BindEvent()).

See Also

OpenWindow()

Supported OS

All

<- BindEvent() - Window Index - DisableWindow() ->