BPCVid.KeyPress

[This is preliminary documentation and subject to change.]

The KeyPress event occurs when the user presses and releases an ANSI key while the Video control has focus.

Syntax

Private Sub object_KeyPress(keyascii As Integer)
 

Parameters

object
Object expression that resolves to a BPCVid object.
keyascii
Integer that returns a standard numeric ANSI keycode. Changing keyascii to 0 cancels the key stroke so the object is not assigned a character.

Remarks

A KeyPress event can involve any printable keyboard character, the ctrl key combined with a character from the standard alphabet or one of a few special characters, and the enter or backspace key.

QuickInfo

  Windows NT: Unsupported.
  Windows: Requires Windows 98.
  Windows CE: Unsupported.
  Header: Declared in vidsvr.odl.
  Import Library: Included as a resource in vid.ocx.
  Unicode: Yes.

See Also

BPCVid.KeyDown, BPCVid.KeyUp