tags:

views:

34

answers:

1

I have a check box in my window, I want when the user clicks it works as if the user clicks on the ALT key on keyboard. How can I do this?

A: 

I can think of three mechanisms which you could leverage.

1) Raise the KeyDown event for your control manually.

2) Perhaps look into the SendKeys class.

3) Or you could P/Invoke to SendInput.

Michael Baker