C# replacement for GetAsyncKeyState?
-
I used to see if the control key was being held down while scrolling the mouse wheel with GetAsyncKeyState( VK_CONTROL ) What is the preferred way of determining if a keystroke is currently pressed in C#/.NET? Thanks a million!
-
I used to see if the control key was being held down while scrolling the mouse wheel with GetAsyncKeyState( VK_CONTROL ) What is the preferred way of determining if a keystroke is currently pressed in C#/.NET? Thanks a million!
Found something close already... Tis funny, you rack your brain for 2 hours, post something, then find it 5 minutes later and feel like a dope. if(( Control.ModifierKeys & Keys.Control ) == Keys.Control )
-
I used to see if the control key was being held down while scrolling the mouse wheel with GetAsyncKeyState( VK_CONTROL ) What is the preferred way of determining if a keystroke is currently pressed in C#/.NET? Thanks a million!