Mouse flicker.

BlitzMax Forums/BlitzMax Beginners Area/Mouse flicker.

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

"Sounds feasible, but why would you be doing that?"

Because I have a huge case statement with 30 different states, most of which I don't want the mouse visible during, and some of which I do. So I showmouse at the start of those which I do. Of course there are other ways I could handle this, but this was the quickest and easiest in this instance.


Dreamora:
Flip 1 has nothing to do with this. The loop is like this:

HideMouse
ShowMouse
Flip False

Either the mouse is visible when it flips, or it is not. The background is not changing and the mouse is not moving, so nothing should be causing the flicker, unless for some reason ShowMouse fails on occasion, or the mouse is not actually being drawn during the flip but is instead hardware based and can be turned on and off between flips.

Grey:
No, it's the windows cursor. I'll probably code around it somehow. I just thought it was weird and wanted to know why it was happening. Also I wanted to know it wasn't something that would happen normally and was unpreventable even if I just showed it when absolutely neccessary before I changed all my code.