I'm developing an app which will display a bitmap. I want to be able to detect mouse clicks on the bitmap and get the mouse cursor location when clicks are detected.
Displaying the bitmap is easy - there are demos that show that. I have been trying to modify the demos to detect clicks and get the mouse cursor location, but nothing has worked yet. Have been going thru doc/demos/etc, and will keep doing so, but if you happen to have experience with this topic, please send me any pointers you can.
I have tried using GetCursorPos, but thus far seem to be getting undefined return values. As for the mouse click, tried setting up -onClick option but this seems to be ignored.
Thanks for your time!