Skip to content

get_mshapeGetMshapeGetMshapeget_mshapeT_get_mshape🔗

Short description🔗

get_mshapeGetMshapeGetMshapeget_mshapeT_get_mshape — 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( window WindowHandle, out string Cursor )void GetMshape( const HTuple& WindowHandle, HTuple* Cursor )static void HOperatorSet.GetMshape( HTuple windowHandle, out HTuple cursor )def get_mshape( window_handle: HHandle ) -> str

Herror T_get_mshape( const Htuple WindowHandle, Htuple* Cursor )

HString HWindow::GetMshape( ) const

string HWindow.GetMshape( )

Description🔗

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

Execution information🔗

Execution information
  • Multithreading type: reentrant (runs in parallel with non-exclusive operators).

  • Multithreading scope: global (may be called from any thread).

  • Processed without parallelization.

Parameters🔗

WindowHandlewindowHandlewindow_handle (input_control) window → (handle)HTuple (HHandle)HWindow, HTuple (IntPtr)HHandleHtuple (handle)

Window handle.

Cursorcursorcursor (output_control) string → (string)HTuple (HString)HTuple (string)strHtuple (char*)

Mouse pointer name.

Result🔗

get_mshapeGetMshape returns the value 2 (H_MSG_TRUE).

Combinations with other operators🔗

Combinations

Possible predecessors

open_windowOpenWindow, query_mshapeQueryMshape

Possible successors

set_mshapeSetMshape

See also

set_mshapeSetMshape, query_mshapeQueryMshape

Module🔗

Foundation