Movie Player ActiveX Control

SetVideoWin2Pos

 

Set the window position of secondary video window.

Public Function SetVideoWin2Pos( _
  ByVal iLeft As Integer , _
  ByVal iTop As Integer , _
  ByVal iWidth As Integer , _
  ByVal iHeight As Integer
)

 

Parameter
iLeft
Specifies the logical left-coordinate of the starting point of the video window.

iTop
Specifies the logical top-coordinate of the starting point of the video window.

iWidth
the width of video window.

iHeight
the height of 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"