Get Mouse Pointer location ?
BlitzMax Forums/MaxGUI Module/Get Mouse Pointer location ?
| ||
| How do I get the mouse-x and mouse-y for my next demo? Either over a canvas or the absolute Desktop position would be better. Do I enable input polling somehow? Im using Hooks to... |
| ||
You will need to check EVENT_MOUSEMOVE yourself and update variables each time.
Case EVENT_MOUSEMOVE
Mouse_X = Event.X 'Assuming Mouse_X and Mouse_Y was declared Global somewhere
Mouse_Y = Event.Y
|
| ||
| Cool Thanks Wait for my next Demo, you will get a laugh, if this works I will upload it tommorrow. |