clear_windowT_clear_windowClearWindowClearWindowclear_window (算子)
名称
clear_windowT_clear_windowClearWindowClearWindowclear_window — 删除输出窗口的内容。
签名
描述
clear_windowclear_windowClearWindowClearWindowClearWindowclear_window deletes all entries in the output window. The
window (background and edge) is reset to its original state.
Parameters assigned to this window (e.g., with set_colorset_colorSetColorSetColorSetColorset_color,
set_paintset_paintSetPaintSetPaintSetPaintset_paint, etc.) remain unmodified.
执行信息
- 多线程类型:可重入(与非独占算子并行运行)。
- 多线程作用域:全局(可从任何线程调用)。
- 未采用并行化处理。
参数
WindowHandleWindowHandleWindowHandleWindowHandlewindowHandlewindow_handle (输入控制) window → HWindow, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
窗口句柄。
结果
If the output window is valid clear_windowclear_windowClearWindowClearWindowClearWindowclear_window 返回 2 ( H_MSG_TRUE )。如有必要,则抛出异常。
可能的前趋
open_windowopen_windowOpenWindowOpenWindowOpenWindowopen_window
替代
clear_rectangleclear_rectangleClearRectangleClearRectangleClearRectangleclear_rectangle,
disp_rectangle1disp_rectangle1DispRectangle1DispRectangle1DispRectangle1disp_rectangle1
另见
open_windowopen_windowOpenWindowOpenWindowOpenWindowopen_window
模块
基础