Click to See Complete Forum and Search --> : shift


Dingojoe
October 6th, 1999, 03:25 AM
how can i tell wether or not the shift key, or any other key is being held down. And thus, when it is let go, somethign will happen.

thanx

Lothar Haensler
October 6th, 1999, 03:36 AM
the Shift argument of the keydown event tells you if Alt, Ctrl or Shift are also pressed.
You can also call the GetkeyState API.

Dingojoe
October 6th, 1999, 01:47 PM
im usign the getkeystate to determine if the shift key was pressed.. now what code would i use to determine if the shift key was only pressed and let go, or is still beign held down?

thanx