Retrieving mouse coordinates behind a window.
I am currently using the lParam of the WM_MOUSEMOVE to determine where on the screen the mouse is located although I have noticed that if another window (application) is on top of my application as my mouse moves over this area my application doesn't seem to be receiving the WM_MOUSEMOVE message anymore... atleast I think this is the problem. Is there a reason for this? How would I go about correcting it?
Note: My application is always the active application while the other application on top of mine is inactive the whole time.