MSVidWebDVD.ActivateButton Method
Microsoft DirectShow 9.0 |
MSVidWebDVD.ActivateButton Method
This topic applies to Windows XP Service Pack 1 or later.
The ActivateButton method activates the selected menu button.
Syntax
VidWebDVD .ActivateButton
Parameters
This method takes no parameters.
Return Values
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. |
Remarks
The buttons checked by this method are the MSVidWebDVD screen buttons, not the surrounding HTML page or form buttons.
Example
oVidWebDVD .ActivateButton
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 |
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