dev_close_window ( : : : )

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.


Attention

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++.


Example
* 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)

Result

dev_close_window always returns 2 (H_MSG_TRUE).


Parallelization Information

dev_close_window is local and processed completely exclusively without parallelization.


Possible Predecessors

dev_set_window, dev_open_window


Possible Successors

dev_open_window


See also

close_window


Module

Foundation



Copyright © 1996-2008 MVTec Software GmbH