set_mshapeT_set_mshapeSetMshapeSetMshape (Operator)
Name
set_mshapeT_set_mshapeSetMshapeSetMshape — Set the current mouse pointer shape.
Warning
This operator does not work in an HDevelop graphics window opened with
dev_open_window.
Signature
Description
set_mshapeset_mshapeSetMshapeSetMshapeSetMshape sets the shape of the mouse pointer for the
window. A list of the names of all available mouse pointer
shapes can be obtained by calling query_mshapequery_mshapeQueryMshapeQueryMshapeQueryMshape. The
mouse pointer shape given by CursorCursorCursorCursorcursor is used if the mouse
pointer enters the window, irrespective of which window is
the output window at present.
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
WindowHandleWindowHandleWindowHandleWindowHandlewindowHandle (input_control) window → HWindow, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Window handle.
CursorCursorCursorCursorcursor (input_control) string → HTupleHTupleHtuple (string) (string) (HString) (char*)
Mouse pointer name.
Default value:
'arrow'
"arrow"
"arrow"
"arrow"
"arrow"
Result
set_mshapeset_mshapeSetMshapeSetMshapeSetMshape returns the value 2 (H_MSG_TRUE) if
the mouse pointer shape CursorCursorCursorCursorcursor is defined for this
window. Otherwise, an exception is raised.
Possible Predecessors
open_windowopen_windowOpenWindowOpenWindowOpenWindow,
query_mshapequery_mshapeQueryMshapeQueryMshapeQueryMshape,
get_mshapeget_mshapeGetMshapeGetMshapeGetMshape
See also
get_mshapeget_mshapeGetMshapeGetMshapeGetMshape,
query_mshapequery_mshapeQueryMshapeQueryMshapeQueryMshape
Module
Foundation