MSVidWebDVD.ActivateButton Method

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

The ActivateButton method activates the selected menu button.

VidWebDVD.ActivateButton

Parameters

This method takes no parameters.

Return Value

Use this method to activate a button that has been selected through the SelectLeftButton, SelectLowerButton, SelectUpperButton, or SelectRightButton method.

Error Codes

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

Value Description
E_UNEXPECTED Unspecified error. Possible reason is that

the graph has not been built.

VFW_E_DVD_INVALIDDOMAIN The DVD Navigator filter is not in a menu domain.
VFW_E_DVD_NO_BUTTON No button is currently selected.
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
Button_Activate DVD_DOMAIN_VideoManagerMenu

DVD_DOMAIN_VideoTitleSetMenu

DVD_DOMAIN_Title

 

Remarks

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

Examples

oVidWebDVD.ActivateButton

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