HALCON Reference Manual 10.0.2
Table of Contents / Graphics / Window ClassesClassesClasses | | | Operators

close_windowclose_windowclose_windowCloseWindowCloseWindow (Operator)

Name

close_windowclose_windowclose_windowCloseWindowCloseWindow — Close an output window.

Signature

close_window( : : WindowHandle : )

Herror close_window(const Hlong WindowHandle)

Herror T_close_window(const Htuple WindowHandle)

Herror close_window(const HTuple& WindowHandle)

void HOperatorSetX.CloseWindow([in] VARIANT WindowHandle)

static void HOperatorSet.CloseWindow(HTuple windowHandle)

Description

close_windowclose_windowclose_windowCloseWindowCloseWindow closes a window which have been opened by open_windowopen_windowopen_windowOpenWindowOpenWindow or by open_textwindowopen_textwindowopen_textwindowOpenTextwindowOpenTextwindow. Afterwards the output device or the window area, respectively, is ready to accept new calls of open_windowopen_windowopen_windowOpenWindowOpenWindow or open_textwindowopen_textwindowopen_textwindowOpenTextwindowOpenTextwindow.

Parallelization

Parameters

WindowHandleWindowHandleWindowHandleWindowHandlewindowHandle (input_control)  window HWindow, HTupleHTupleHWindowX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong)

Window identifier.

Result

If the output window is valid close_windowclose_windowclose_windowCloseWindowCloseWindow returns 2 (H_MSG_TRUE). If necessary an exception is raised.

Possible Predecessors

open_windowopen_windowopen_windowOpenWindowOpenWindow, open_textwindowopen_textwindowopen_textwindowOpenTextwindowOpenTextwindow

See also

open_windowopen_windowopen_windowOpenWindowOpenWindow, open_textwindowopen_textwindowopen_textwindowOpenTextwindowOpenTextwindow

Module

Foundation


Table of Contents / Graphics / Window ClassesClassesClasses | | | Operators
HALCON Reference Manual 10.0.2 Copyright © 1996-2011 MVTec Software GmbH