get_mshapeT_get_mshapeGetMshapeGetMshapeget_mshape (算子)
名称
get_mshapeT_get_mshapeGetMshapeGetMshapeget_mshape — 查询当前鼠标指针形状。
警告
This operator does not work in an HDevelop graphics window opened with
dev_open_window.
签名
描述
get_mshapeget_mshapeGetMshapeGetMshapeGetMshapeget_mshape returns the name of the pointer shape set for
the window. The mouse pointer shape can be used in the
operator set_mshapeset_mshapeSetMshapeSetMshapeSetMshapeset_mshape。
执行信息
- 多线程类型:可重入(与非独占算子并行运行)。
- 多线程作用域:全局(可从任何线程调用)。
- 未采用并行化处理。
参数
WindowHandleWindowHandleWindowHandleWindowHandlewindowHandlewindow_handle (输入控制) window → HWindow, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
窗口句柄。
CursorCursorCursorCursorcursorcursor (输出控制) string → HTuplestrHTupleHtuple (string) (string) (HString) (char*)
Mouse pointer name.
结果
get_mshapeget_mshapeGetMshapeGetMshapeGetMshapeget_mshape 返回值 2 ( H_MSG_TRUE )。
可能的前趋
open_windowopen_windowOpenWindowOpenWindowOpenWindowopen_window,
query_mshapequery_mshapeQueryMshapeQueryMshapeQueryMshapequery_mshape
可能的后继
set_mshapeset_mshapeSetMshapeSetMshapeSetMshapeset_mshape
另见
set_mshapeset_mshapeSetMshapeSetMshapeSetMshapeset_mshape,
query_mshapequery_mshapeQueryMshapeQueryMshapeQueryMshapequery_mshape
模块
基础