views:

26

answers:

0

Hi! I just wanted to know, what would be the c# coding to check a checkbox (named cBox) even when the window does not have focus?

I need the exact coding and what the using directives would be.

Thank you for all who helped!

I'm sorry to those of you who feel like I am just asking too much. I am brand new, and I had tried using Global Hook to capture the input of the spacebar, and it was saying I was missing a directive. I am not a professional at all, I am still very new to learning c#, I am more jsut doing it for a hobby. As I said, I am brand new to C# and when I looked up Global Hook tutorials, I was a bit intimidated, but still tried. As I said, it said I was missing a directive. Anyone have any clues?