Program only responds if selected!

I have created a simple keylogger-like program,
my only problem is it only gets keys if it is selected.

I want it to work even if other windows are above it.

if it helps, its a console application.
Topic archived. No new replies allowed.