I wrote an application in c++ which should return the GetAsyncKeyState(0x01). But I always get 0. If I click on the window of my app,I will get the right answer. GetAsyncKeyState should return systemwide clicks! The same things happens when I write a VB application. I found an app written in Delphi which uses the GetAsyncKeyState call and returns systemwide clicks. Can someone tell me whats the reason? And how can I fix this. THX