0

I am programming in windows api, and I am familiar with using the
ScreenToClient() function, and passing in a POINT structure variable for LPARAM with the coordinates defined in the point struct to simply send mouse clicks and so forth to the window in which I have the handle to.
However.. what I am wanting to acheive in a much more simpler manner, and maybe its because I am tired right now and my brain dont want to work, but I want to record the coordinates of wherever the mouse is positioned on the given window (its a games window) ..

What I am after- If I look in the games window and see a Magic Scroll, and put my mouse on that magic scroll.. and say I right click on the magic scroll I need a message box to pop with the coordinates in it.
I have a feeling this is much easier than I am making it on myself hence being tired, but some code would help and be greatly appreciated!

Thank you,

Cody Oebel

2
Contributors
2
Replies
3
Views
6 Years
Discussion Span
Last Post by CodyOebel
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.