get mouse position on picture

i use borland c++ and have Image1;
i need to get mouse position on Image1->Picture
Ok, have you picked a library yet? I recommend SDL as this is a pretty easy task to do with it.
http://www.libsdl.org/download-1.2.php

If you prefer the straight Windows API I can help with that too but I'll be a little slower getting back to you.
it will be better with Windows Api but if u want SDL - its ok. help me with any of them, please
Last edited on
Honestly I can't do better then this guy here: http://www.sdltutorials.com/sdl-tutorial-basics/ for your purposes you only need to go up to the fourth tutorial and I can help you from there. It shouldn't take too long I'll keep checking this thread because there's really no error handeling in his code.
thanks
Topic archived. No new replies allowed.