-
Notifications
You must be signed in to change notification settings - Fork 0
Window_set_cursor
hpgDesigns edited this page Aug 8, 2021
·
1 revision
NOTOC {{-}}
Sets the mouse cursor. The changed mouse cursor only applies when the mouse is over the ENIGMA window.
- curs: The new cursor. Valid constants are:
cr_default
cr_none
cr_arrow
cr_cross
cr_beam
cr_size_nesw
cr_size_ns
cr_size_nwse
cr_size_we
cr_uparrow
cr_hourglass
cr_drag
cr_nodrop
cr_hsplit
cr_vsplit
cr_multidrag
cr_sqlwait
cr_no
cr_appstart
cr_help
cr_handpoint
cr_size_all
Using cr_none will hide the cursor. cr_drag is currently unimplemented. Some of these cursors may appear different in ENIGMA than GM due to the fact that Delphi includes some of its own cursor icons.
Returns 1 if the argument was a valid cursor, otherwise it returns 0.
// The cursor will now be a hand when the mouse is over the ENIGMA window
window_set_cursor(cr_handpoint);This is number 1