Microsoft DirectX 8.1 (C++)

KeyPress Event

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

The KeyPress event is called by the MSVidCtl object when the user presses and releases a key.

Syntax

object_KeyPress(
    KeyAscii As Integer)

Parameters

  KeyAscii

Specifies the ASCII code of the key that was pressed as an integer subtype.

See Also