Something VB will not do...
I can't believe it... I think I've actually found something that VB just will not do...
I can not, for the life of me, find a way to make vb trap keypresses without a control or form having to be in focus...
Does ANYBODY know how to do this???? Is it possible???
thanks,
Squirrelly1 :confused:
Re: Something VB will not do...
Quote:
Originally posted by squirrelly1
I can't believe it... I think I've actually found something that VB just will not do...
I can not, for the life of me, find a way to make vb trap keypresses without a control or form having to be in focus...
Does ANYBODY know how to do this???? Is it possible???
thanks,
Squirrelly1 :confused:
Why not just use GetAsyncKeyState in a timer? That is how I do all my capturing of keys when the program is not in focus. The only draw back is you have to be expecting the key, you can't just log all keys that get pressed, not very easily anyway.