MSVidWebDVD.SelectAndActivateButton Method

 
Microsoft DirectShow 9.0

MSVidWebDVD.SelectAndActivateButton Method

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

The SelectAndActivateButton method selects and activates the specified button.

Syntax

  VidWebDVD
  .SelectAndActivateButton(
  lButton As Long
)

Parameters

lButton

Long specifying the button.

Return Values

This method does not return a value.

Remarks

This method highlights the specified button and activates it automatically. The buttons checked by this method are the DVD's onscreen buttons, not the surrounding HTML page or form buttons.

Error Codes

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

Value Description
E_UNEXPECTED Unspecified error.
E_INVALIDARG lButton is less than 0 or greater than the highest button index.
VFW_E_DVD_OPERATION_INHIBITED UOP control prohibits the operation.

Example

  oVidWebDVD
  .SelectAndActivateButton(
  lButton
  )

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
Button_Select_And_Activate DVD_DOMAIN_VideoManagerMenu
DVD_DOMAIN_VideoTitleSetMenu
DVD_DOMAIN_Title

Requirements

Reference: Add a reference to MS Video Control 1.0 Type Library and Microsoft Tuner 1.0 Type Library.

Library: Quartz.dll.

See Also