Page 1 of 1

HideMousePointer

Posted: Sun Feb 07, 2010 5:48 pm
by eddy
Hi
I'm coding to code a windowed screen editor.
But ExamineMouse() hides the mouse pointer.

I don't know if there's the same problem on MAC and Linux ?

Code: Select all

HideMousePointer ( hidePointer = true / false  ) 

Re: HideMousePointer

Posted: Sun Feb 07, 2010 5:52 pm
by gnasen
If I remember right, there is a ReleaseMouse() command. However if you use it, you will have to check the mouse coordinates the "old window way"

Re: HideMousePointer

Posted: Sun Feb 07, 2010 7:42 pm
by Kaeru Gaman
the MousePointer on the Screen should be displayed with a sprite.
the MouseLib also locks the Mouse Position to the Screen Area,
so you would need to ReleaseMouse to leave the Screen and use the ButtonGadgets, anyways.

Re: HideMousePointer

Posted: Sun Feb 07, 2010 7:53 pm
by eddy
I found a cross-platform solution without using opened screen. :mrgreen:
:arrow: scrollareaGAdget + ImageGadget + Timer + AlphaBlend Image

PB gadgets support AlphaChannel!!

Re: HideMousePointer

Posted: Sun Feb 07, 2010 7:58 pm
by Kaeru Gaman
:shock: