Microsoft DirectX 8.1 (C++)

KeyUp Event

This topic applies to Windows XP Home Edition and Windows XP Professional only.

The KeyUp event is called by the MSVidCtl object when the user releases a key.

Syntax

object_KeyUp(
    KeyCode As Integer, 
    Shift As Integer)

Parameters

  KeyCode

Specifies the key code.

  Shift

Specifies whether the Shift, Ctrl or ALT keys were pressed.

Remarks

The Shift parameter may have the following values:

Value Meaning
1 The Shift key was pressed.
2 The Ctrl key was pressed.
4 The ALT key was pressed.

See Also