BPCVid.GotControl

[This is preliminary documentation and subject to change.]

The GotControl event notifies an instance of the Video control that the instance has control of a device.

Syntax

Private Sub object_GotControl
 

Parameters

object
Object expression that resolves to a BPCVid object.

Remarks

This event occurs if the control requests a device that is not currently being used by an application with higher priority. If two devices have the same priority, the current control retains the device.

Your application must wait until it receives a GotControl event before it uses a device. Otherwise, applications currently using the device do not release the device, and unexpected behavior can occur.

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.LostControl