MSVidWebDVD.ActivateAtPosition Method

Note  This topic applies to Windows XP Service Pack 1 or later.

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

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

Parameters

  • xPos
    Specifies an x coordinate.

  • yPos
    Specifies a y coordinate.

Return Value

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

 

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_VideoManagerMenuDVD_DOMAIN_VideoTitleSetMenu

 

Remarks

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

Examples

oVidWebDVD.ActivateAtPosition(xPos, yPos)

Requirements

Type Library

MS Video Control 1.0 Type Library and Microsoft Tuner 1.0 Type Library

DLL

Quartz.dll

See Also

MSVidWebDVD Object

 

 

Send comments about this topic to Microsoft

Build date: 7/6/2010