Hi,
GETMOUSECOUNT returns 32 on Win8 and Win10. When I run my exe with Win7 compatibility mode, it returns 1.
It slows down my program a lot when I check if all mouse buttons are released.
In some circumstances MOUSESTATE returns that mouse button 2 is always TRUE. It happens in a very big code, but in a small FUNCTION:
FUNCTION No_Click:
LOCAL mx,my,mb1,mb2
FOR i=0 TO GETMOUSECOUNT()-1
SETACTIVEMOUSE i
REPEAT
MOUSESTATE mx,my,mb1,mb2
UNTIL mb1=FALSE AND mb2=FALSE
NEXT
SETACTIVEMOUSE 0
ENDFUNCTION
The REPEAT loop never ends.
Are these bugs, or deliberate changes in OS?
GLBasic Precompiler V.14.721
GLBasic IDE, Version: 15.089
Thank you,
Adaz