Got an idea for enhancing PureBasic? New command(s) you'd like to see?
eddy
Addict
Posts: 1479 Joined: Mon May 26, 2003 3:07 pm
Location: Nantes
Post
by eddy » Sun Feb 07, 2010 5:48 pm
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 )
win10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
gnasen
Enthusiast
Posts: 282 Joined: Wed Sep 24, 2008 12:21 am
Post
by gnasen » Sun Feb 07, 2010 5:52 pm
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"
pb 5.11
Kaeru Gaman
Addict
Posts: 4826 Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany
Post
by Kaeru Gaman » Sun Feb 07, 2010 7:42 pm
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.
oh... and have a nice day.
eddy
Addict
Posts: 1479 Joined: Mon May 26, 2003 3:07 pm
Location: Nantes
Post
by eddy » Sun Feb 07, 2010 7:53 pm
I found a cross-platform solution without using opened screen.
scrollareaGAdget + ImageGadget + Timer + AlphaBlend Image
PB gadgets support AlphaChannel!!
win10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
Kaeru Gaman
Addict
Posts: 4826 Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany
Post
by Kaeru Gaman » Sun Feb 07, 2010 7:58 pm
oh... and have a nice day.