clear_windowT_clear_windowClearWindowClearWindowclear_window (Operator)
名称
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.
执行信息
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
参数
WindowHandleWindowHandleWindowHandleWindowHandlewindowHandlewindow_handle (input_control) window → HWindow, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Window handle.
结果
If the output window is valid clear_windowclear_windowClearWindowClearWindowClearWindowclear_window returns 2 (
H_MSG_TRUE)
.
If necessary an exception is raised.
可能的前置算子
open_windowopen_windowOpenWindowOpenWindowOpenWindowopen_window
替代算子
clear_rectangleclear_rectangleClearRectangleClearRectangleClearRectangleclear_rectangle,
disp_rectangle1disp_rectangle1DispRectangle1DispRectangle1DispRectangle1disp_rectangle1
另见
open_windowopen_windowOpenWindowOpenWindowOpenWindowopen_window
模块
Foundation