Compartir a través de


KeyPress (Windows CE 5.0)

Send Feedback

This event occurs when the user presses and releases a key.

Compatibility: Windows Media Player, ActiveMovie

<SCRIPT FOR="MediaPlayer" EVENT="KeyPress(iKeyAscii)" LANGUAGE="JScript">  //insert script commands//</SCRIPT>

Parameters

  • iKeyAscii
    An Integer value specifying a standard numeric ANSI keycode.

Remarks

If the value of the SendKeyboardEvents property is true, this event occurs when the Windows Media Player control has focus and the user presses and releases a key.

If SendKeyboardEvents is false, this event does not occur.

ActiveMovie compatibility mode is only supported through Windows CE 4.1.

Requirements

OS Versions: Windows CE 3.0 and later.

See Also

Windows Media Player Events | Compatibility Modes | Capturing Keyboard and Mouse Events | KeyDown | KeyUp | SendKeyboardEvents

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.