Hello.

I am trying to write a simple MFC program to show the current cursor position. I am using OnMouseMove() to do this right now but it is only giving me the postion of the cursor when it is over the window. Is there a function that will pass a message when the mouse moves anywhere on the screen? Is there a way for me to define a custom event? I welcome any information or pointers to other resources. Thanks.