KeyPress Event

Occurs when a key is pressed and released.

Syntax

MediaPlayer_KeyPress( KeyAscii )

Parameters

KeyAscii

An Integer value specifying a standard numeric ANSI keycode.

Remarks

This event is called when the Player control has focus and a key is pressed.

This event is called only if SendKeyboardEvents is True.

See Also

KeyDown, KeyUp, SendKeyboardEvents

© 1996-1998 Microsoft Corporation. All rights reserved.