To Hook Keyboard Messages for anything other than your own Thread you need to use a Hook via a DLL, checkout MSDN Online for more details, there are alternative methods for capturing O/S Level Keyboard Input, checkout my reply to a Previous Post.

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