As an example for A_Cursor=Arrow (standard arrow) shown on both machines correct, i get on one machine thiscursor=65541, while the other shows thiscursor=65539
Does anyone has an idea why? How to make to behave same?
Code: Select all
#persistent
Settimer c, 500
return
c:
thiscursor:=QueryMouseCursor()
Tooltip, thiscursor=%thiscursor%`nA_Cursor=%A_Cursor%
return
QueryMouseCursor()
{
NumPut(VarSetCapacity(CurrentCursorStruct, A_PtrSize + 16), CurrentCursorStruct, "uInt")
DllCall("GetCursorInfo", "ptr", &CurrentCursorStruct)
return (numP:=NumGet(CurrentCursorStruct, 8))
}