I am trying to change cursor color when the mouse left button is in the 'hold down state'. This is supposed to work in Windows 10, so something at the OS level, not in any specific program. I would like to do this to know when "ClickLock" is enabled. Is there anyway to achieve this?
I have tried with Autohotkey but nothing happens
; Cursor types
IDC_APPSTARTING := 32650
~LButton::
while GetKeyState("LButton", "P")
{
; this is the code to the Dll call, but I am not sure how to integrate it
hCursor:=DllCall("LoadCursor", "UInt", NULL,"Int", IDC_APPSTARTING, "UInt")
DllCall("SetCursor","UInt",hCursor)
}
return