GetAsyncKeyState in managed code

  • Thread starter Thread starter Heinz Kiosk
  • Start date Start date
H

Heinz Kiosk

Does managed code implement anything like the GetAsyncKeystate call found in
win32.

I want to check the status of the control and/or shift keys sometimes.

Thank you

Tom
 
Does managed code implement anything like the GetAsyncKeystate call found in
win32.

I want to check the status of the control and/or shift keys sometimes.

Control.ModifierKeys might do what you want. It wraps GetKeyState
rather than GetAsyncKeyState though.



Mattias
 
Back
Top