get_mshapeT_get_mshapeGetMshapeGetMshapeget_mshape (算子名称)

名称

get_mshapeT_get_mshapeGetMshapeGetMshapeget_mshape — Query the current mouse pointer shape.

Warning

This operator does not work in an HDevelop graphics window opened with dev_open_window.

参数签名

get_mshape( : : WindowHandle : Cursor)

Herror T_get_mshape(const Htuple WindowHandle, Htuple* Cursor)

void GetMshape(const HTuple& WindowHandle, HTuple* Cursor)

HString HWindow::GetMshape() const

static void HOperatorSet.GetMshape(HTuple windowHandle, out HTuple cursor)

string HWindow.GetMshape()

def get_mshape(window_handle: HHandle) -> str

描述

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 (input_control)  window HWindow, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Window handle.

CursorCursorCursorCursorcursorcursor (output_control)  string HTuplestrHTupleHtuple (string) (string) (HString) (char*)

Mouse pointer name.

结果

get_mshapeget_mshapeGetMshapeGetMshapeGetMshapeget_mshape returns the value 2 ( H_MSG_TRUE) .

可能的前置算子

open_windowopen_windowOpenWindowOpenWindowOpenWindowopen_window, query_mshapequery_mshapeQueryMshapeQueryMshapeQueryMshapequery_mshape

可能的后置算子

set_mshapeset_mshapeSetMshapeSetMshapeSetMshapeset_mshape

参考其它

set_mshapeset_mshapeSetMshapeSetMshapeSetMshapeset_mshape, query_mshapequery_mshapeQueryMshapeQueryMshapeQueryMshapequery_mshape

模块

Foundation