PDA

View Full Version : question concerning Mouse.hide()


notsotrickyricky
07-29-2008, 03:36 PM
The question is does using Mouse.hide() just hide the cursor? Or does in disable mouse related all mouse related events. I'm making a program for a touch screen and I want the mouse not to show but I want to be able to use the mouse events such as onMouseDown or click etc. If this is not possible using Mouse.hide() is there a way to hide the cursor without disabling the mouse events? :confused:

bloodstyle
07-29-2008, 05:11 PM
hide() just removes the cursor from screen, mouseevents still work as before.

LivestockTony
07-29-2008, 11:59 PM
In the game I'm working on, we use mouse.hide to hide the system cursor in the game, and display a bitmap at the MouseX and Y coordinates, which get updated when triggered by the mouse movement event. Although we don't use the mouse click events, the movement events anyways seem to propogate normally even though the cursor is hidden.
-TF

Edit: Redundant.. I'm used to fora which put the newest reply on bottom. :)

notsotrickyricky
07-30-2008, 01:58 PM
thank you all for your assistance in this matter. I tried the Mouse.hide() and it worked! I appreciate everyone's responses. Have a great day! :)