Close the active graphics window.
dev_close_window closes the active graphics window which has been opened by dev_open_window or by HDevelop (default window). The operator is equivalent to pressing the Close button of the active window. A graphics window can be activated by calling dev_set_window.
If dev_close_window should be used for exported Code (C++), please note the description of close_window due to the different semantics in C++.
* close all windows for i := 1 to 10 by 1 dev_close_window () endfor read_image (For5, 'for5') get_image_pointer1 (For5, Pointer, Type, Width, Height) dev_open_window (0, 0, Width, Height, 'black', WindowHandle) dev_display (For5)
dev_close_window always returns 2 (H_MSG_TRUE).
dev_close_window is local and processed completely exclusively without parallelization.
dev_set_window, dev_open_window
Foundation