get_mshapeT_get_mshapeGetMshapeGetMshape (Operator)

Name

get_mshapeT_get_mshapeGetMshapeGetMshape — Query the current mouse pointer shape.

Warning

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

Signature

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()

Description

get_mshapeget_mshapeGetMshapeGetMshapeGetMshape returns the name of the pointer shape set for the window. The mouse pointer shape can be used in the operator set_mshapeset_mshapeSetMshapeSetMshapeSetMshape.

Execution Information

Parameters

WindowHandleWindowHandleWindowHandleWindowHandlewindowHandle (input_control)  window HWindow, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Window handle.

CursorCursorCursorCursorcursor (output_control)  string HTupleHTupleHtuple (string) (string) (HString) (char*)

Mouse pointer name.

Result

get_mshapeget_mshapeGetMshapeGetMshapeGetMshape returns the value 2 (H_MSG_TRUE).

Possible Predecessors

open_windowopen_windowOpenWindowOpenWindowOpenWindow, query_mshapequery_mshapeQueryMshapeQueryMshapeQueryMshape

Possible Successors

set_mshapeset_mshapeSetMshapeSetMshapeSetMshape

See also

set_mshapeset_mshapeSetMshapeSetMshapeSetMshape, query_mshapequery_mshapeQueryMshapeQueryMshapeQueryMshape

Module

Foundation