Detecting if ONLY a modifier was pressed

  • Thread starter Thread starter Andy Gilman
  • Start date Start date
A

Andy Gilman

How do I detect in a keyUp or keyDown handler if ONLY a modifier key was
pressed.

I pop up a list when the user starts typing. I dont want it to popup if they
just hit Shift or Ctrl by themselves.
 
* "Andy Gilman said:
How do I detect in a keyUp or keyDown handler if ONLY a modifier key was
pressed.

I pop up a list when the user starts typing. I dont want it to popup if they
just hit Shift or Ctrl by themselves.

\\\
If Control.ModifierKeys = Keys.Ctrl Then
...
End If
///
 
Back
Top