How to determine SHIFT key state - NOT from eventhandler

  • Thread starter Thread starter mdb
  • Start date Start date
M

mdb

I want to determine whether the SHIFT key is depressed, but NOT during a
key up/down/pressed event. How can I do that?
 
Hi mdb,

You can use the static Control.ModifierKeys property to determine the state of Shift/Alt/Control.
There is also the Control.MouseButtons property for checking the Mouse outside the Mouse Events
 
Back
Top