Finding the Mouse location, and chaning cursor
Posted on 1998-07-23
Hello. I need to find the Cursor location, but not on my window, on anywhere on the screen. I have
to decide if it is over a certain window, and if it is on it, then whether it is on a certain area on it, and then
change the cursor to a certain cursor of mine.
To Re-Phrase the question : Let's say I have a window, an application with a button on it. (Or any component,
or just some square I decide upon). Whenever the cursor goes on that point, I need it to change to my cursor.
But, of course, I'm doing this from ANOTHER application...
Can I hook somehow to the windows messages and get the mouse position whenever it is changed? How do
I do it efficiently?
Ron (Who is, BTW, using Visual C++ for that thing...)