Microsoft DirectX 9.0

MSVidWebDVD.CurrentButton Property

This topic applies to Windows XP Service Pack 1 only.

The CurrentButton property retrieves the number of the selected menu button.

Syntax

VidWebDVD.CurrentButton As Long

Parameters

This property takes no parameters.

Return Values

When getting the value, this property returns a Long.

Remarks

This property is read-only and defaults to 1 when buttons are available. The buttons checked by this method are the DVD's on-screen buttons, not the surrounding HTML page or form buttons.

Example

' Returning the property.
lButton = VidWebDVD.CurrentButton

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

See Also