BPCVid.KeyDown
[This is preliminary documentation and subject to change.]
The KeyDown event occurs when the user presses a key while the Video control has the focus.
Syntax
Private Sub object_KeyDown(keycode As Integer, shift As Integer)
Parameters
-
object
-
Object expression that resolves to a BPCVid object.
-
keycode
-
Key code, such as vbKeyF1 (the F1 key) or vbKeyHome (the HOME key). To specify key codes, use the constants in the Visual Basic object library in the Visual Basic Object Browser.
-
shift
-
Integer that corresponds to the state of the shift, ctrl, and alt keys at the time of the event. The shift parameter is a bit field with the least-significant bits corresponding to the shift key (bit 0), the ctrl key (bit 1), and the alt key (bit 2). These bits correspond to the values 1, 2, and 4, respectively. Some, all, or none of the bits can be set, indicating that some, all, or none of the keys are pressed. For example, if both ctrl and alt are pressed, the value of shift is 6.
Remarks
To locate more information on the Visual Basic Object Browser, see Further Information on Streaming Video Services for the Client.
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.KeyUp, BPCVid.KeyPress