Microsoft DirectX 9.0

MSVidWebDVD.ActivateAtPosition Method

This topic applies to Windows XP Service Pack 1 only.

The ActivateAtPosition method activates the menu button at the specified position.

Syntax

VidWebDVD.ActivateAtPosition(
  xPos As Long,
  yPos As Long
)

Parameters

xPos

Specifies an x coordinate.

yPos

Specifies a y coordinate.

Return Values

This method does not return a value.

Error Codes

If the property fails, Err.Number may be set to one of the following values.

Value Description
E_UNEXPECTED Unspecified error. Two possible reasons include:

The graph has not been built.

--or--

The button is present but is not working.

E_INVALIDARG The point lies outside the valid video region.
VFW_E_DVD_INVALIDDOMAIN The DVD Navigator filter is not in a menu domain.
VFW_E_DVD_NO_BUTTON There is no menu button under the mouse pointer position.
VFW_E_DVD_OPERATION_INHIBITED The operation is inhibited by user operation (UOP) control.

Remarks

The buttons checked by this method are the MSVidWebDVD screen buttons, not the surrounding HTML page or form buttons.

Example

oVidWebDVD.ActivateAtPosition(xPos, yPos)

Valid Domains

The following table shows the Annex J command name to which this method name corresponds, and the domains in which this method is valid.

Annex J Command Name Valid Domains
None DVD_DOMAIN_VideoManagerMenu
DVD_DOMAIN_VideoTitleSetMenu

See Also