Movie Player ActiveX Control

SetVideoWin2Caption

 

Set the window caption of secondary video window if SetVideoWin2PopUp to true.

Public Function SetVideoWin2Caption( _
  ByVal strCaption As String
)

 

Parameter
strCaption
the string of caption.

No Return Value

Example

   

Visual Basic Syntax
Me.MoviePlayer1.SetVideoWin2Show True
Me.MoviePlayer1.SetVideoWin2Owner Me.hWnd
Me.MoviePlayer1.SetVideoWnd2Pos 310, 8, 300, 258
Me.MoviePlayer1.SetVideoWin2PopUp true
Me.MoviePlayer1.SetVideoWin2Style 0
Me.MoviePlayer1.SetVideoWnd2Caption "My Video"
Me.MoviePlayer1.SetVideoWin2AspectRatio False
Me.MoviePlayer1.FileName = "c:\test.mpg"