Movie Player ActiveX Control

SetVideoWin2Owner    

 

Set the owner of secondary video window.

Public Function SetVideoWin2Owner( _
  ByVal nOwnerWnd As long
)

 

Parameter
nOwnerWnd
The owner of secondary video window.

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"