Compartilhar via


MSVidWebDVDEvent.ShowMenu Event

 
Microsoft DirectShow 9.0

MSVidWebDVDEvent.ShowMenu Event

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

The ShowMenu event is sent whenever the disc enables or disables the showing of a menu.

Syntax

  VidWebDVD_
  ShowMenu(
  lMenu As DVDMenuIDConstant
  bEnabled As Boolean
)

Parameters

bEnabled

Boolean value indicating that the application can (True) or can't (False) show the selected menu.

lMenu

Long, represented by a constant, indicating the type of menu disabled or enabled. Menu types are represented in the following table.

Constant Value Menu
dvdMenu_Title 2 Title
dvdMenu_Root 3 Root
dvdMenu_Subpicture 4 Subpicture
dvdMenu_Audio 5 Audio
dvdMenu_Angle 6 Angle
dvdMenu_Chapter 7 Chapter

Example

Private Sub oVidWebDVD_ShowMenu(ByVal lMenu As Long, DVDByVal bEnabled As Boolean)
'...
End Sub

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