Look at the APIs.. GetAsyncKeyState(), which will return any Keyboard/MouseButton Activity within the O/S, and GetCursorPos, which returns a POINTAPI Structure containing the Cursors X/Y Coords relative to the Screen in Pixels anywhere within the O/S.

------------------
Aaron Young
Analyst Programmer
[email protected]
[email protected]