clear_windowT_clear_windowClearWindowClearWindowclear_window (算子名称)
名称
clear_windowT_clear_windowClearWindowClearWindowclear_window — Delete the contents of an output 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 (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