Custom Mouse Pointer
BlitzMax Forums/BlitzMax Programming/Custom Mouse Pointer
| ||
Hi, How can I change the mouse pointer to take a custom bitmap as input and not one of the predefined values. I am using MaxGUI Any help will be greatly appreciated. Regards, D.Ramesh |
| ||
You can only change the mouse pointer that would appear inside a canvas, I think? .... by hiding the real mouse and then drawing an image at MouseX(),MouseY() |
| ||
Graphics 800,600 HideMouse() Repeat DrawRect(MouseX(),MouseY(),10,20) Flip Cls Until KeyHit(KEY_ESCAPE) Ofcourse you will have to draw an image instead of a rectangle, but it shows the idea. |
| ||
Won't work in a MaxGUI window. |
| ||
Ah sorry, my bet, it's just that I saw the same thread in the GUI Programming section to I thought this one would be without gui. |