Hidepointer bug still around

Archives Forums/Blitz3D Bug Reports/Hidepointer bug still around

Chroma(Posted 2006) [#1]
The Hidepointer command doesn't actually hide the mouse cursor until AFTER the mousebutton is released. Take the following code for example:

If Mousedown(2) Then Hidepointer

According to the code, as soon as you click the right mouse button, the pointer should disappear instantly. But, the pointer won't disappear until after you release the mouse button. It's the same with the MouseHit(2) also. I know it might seem trivial but I'm needing this to for my game to work correctly. Thanks guys.

Damien Sturdy(Posted 2006) [#2]
This may be a problem with windows and not blitz, in which case I dont think BRL can do much...

Bobysait(Posted 2006) [#3]
maybe you 'd better totally hide the pointer in your game, and load a specific one in the game ( loadimage or loadsprite ). on mousedown, you hide it, and you show another one.

markcw(Posted 2006) [#4]
here is a better example of the problem. not really a bug though.

Graphics3D 640,480,0,2
SetBuffer BackBuffer()

While Not KeyHit(1)

 If MouseDown(1) Then tic=0 : ShowPointer
 If MouseDown(2) Then tic=tic+1
 If tic=1 Then HidePointer

 Text 0,0,tic


BladeRunner(Posted 2009) [#5]
Just have to mention that this bug is still around after three years. Not a big thing, but a fix still would be nice.