I just want to set it to crosshair but I can't.
Below is the test script, it works but only if the mouse is not moving,
if I move it even a bit it resets back to arrow.
I want it to stay as crosshair if I'm inside my GUI.
Code: Select all
#SingleInstance force
; Gui, +LastFound +AlwaysOnTop +ToolWindow -Caption
Gui, +AlwaysOnTop +ToolWindow -Caption
Gui, Show, w200 h200
cursorCross := DllCall( "LoadCursor", Uint, 0, Int, 32515 )
z::
DllCall( "SetCursor", Uint, cursorCross )
return
esc::
GuiClose:
ExitApp