This is just a simple problem I know, but I am trying to replace the cursor mouse with one I created. Can someone tell me what I need to do to achieve this? thanks.
Printable View
This is just a simple problem I know, but I am trying to replace the cursor mouse with one I created. Can someone tell me what I need to do to achieve this? thanks.
Have an always event that sets your image x coordinate to XMouse and y coordinate to YMouse, and hide the windows cursor. :)
Thanks I will try that.
I did something else but I get a box around my arrow. What I did was. I added the cursor object and edited that and put in the image I wanted. I still wasn't getting anything. So I went into the event editor and put in the following.
Mouse pointer lays within zone (0,0)to(800,600) Then under the cursor object I chose image from name and typed in "mouse".
That finally worked too, but it gives me that blue box around my arrow. Anyway to remove that?
I am still going to try your way as well.
StevenL's way is the best way, IMHO.
Marv
Is the cursor object of any use in this scenario?
You can set the cursor to the name of an Active object so the cursor takes on the image of that object, or simply use the cursor object to display its own custom image.
I think with the Cursor Object you loose clicking on object capability. Of course my brain leakage may be causing me to make false statements with regard to this.
Marv
ok thanks guys. I am going to try that now
Just tried it and it works great!! Thanks again. I appreciate your guys help.
Which method did you use...StevenL's?
Marv
Yeah I used StevenL's.
I must admit that I have never used the cursor object in my applications (I follow the MouseX,Y); I just knew that it was there.Quote:
Originally Posted by nivram
However, I just tested it and it seems to work fine including on an object.
OK you guys must be confused. I have used the cursor object and it works very well because it allows for the user to have a mouse trail and clicking works fine. It works MUCH MUCH better than using an active object and hiding the windows mouse for many reasons. I highly recoomend using the cursor object and NOT the active object work around.
No, just a different opinion than yours.
Marv
Like Marv said. ;)
The only problem I have with my own object as a mouse arrow is that it seems to go behind other objects. I even have brought objects to the front or back and it still seems to do that. Also I know when I go click on the Close X button at the top it disappears and you have to guess where to close it. I did make a quit game text where you click that and it ends application.
Only other problem I am having now is creating a mouse over on/off when the mouse goes over a string text it changes and when you move your mouse off it goes back. I did this once before, but for the life of me I can not remember.
The thing is, you get none of the problems using the cursor object.
How do you do all of this stuff?
What? :o
how do you make a cursor that works because mine will just go under the button
That is the fault of MS's crappy window controls. Make your own custom buttons. :)
thanks
Or use the Active System Box.
how do I do that? sorry if I ask too many questions.
http://mfa.aquadasoft.com/view/1278267525-Cursor