|Microsoft DirectX 9.0|
This topic applies to Windows XP only.
The KeyDown event is called by the MSVidCtl object when the user presses a key.
object_KeyDown( KeyCode As Integer, Shift As Integer)
Specifies the key that was pressed.
Specifies whether the shift, control or ALT keys were pressed at the time the event was sent. See Remarks.
The Shift parameter may have the following values:
|1||The Shift key was pressed.|
|2||The Ctrl key was pressed.|
|4||The ALT key was pressed.|