set_mshape🔗
Short description🔗
set_mshape — Set the current mouse pointer shape.
Warning🔗
This operator does not work in an HDevelop graphics window opened with
dev_open_window.
Signature🔗
set_mshape( window WindowHandle, string Cursor )
Description🔗
set_mshape 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_mshape. The
mouse pointer shape given by Cursor is used if the mouse
pointer enters the window, irrespective of which window is
the output window at present.
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🔗
WindowHandle (input_control) window → (handle)
Window handle.
Cursor (input_control) string → (string)
Mouse pointer name.
Default: 'arrow'
Result🔗
set_mshape returns the value 2 (H_MSG_TRUE) if
the mouse pointer shape Cursor is defined for this
window. Otherwise, an exception is raised.
Combinations with other operators🔗
Module🔗
Foundation