Karaoke Mixer ActiveX Control

SetWaveWndPos 

 

Set the window position of WaveForm window.

Public Function SetWaveWndPos(
     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 waveform window.

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

iWidth
the width of waveform window.

iHeight
the height of waveform window.

No Return Value

Example

   

Visual Basic Syntax
KaraokeMixer1 .ShowWaveForm=True
KaraokeMixer1 .SetWaveWndCaption "My WaveForm Window"
KaraokeMixer1 .SetWaveWndOwner me.hWnd
KaraokeMixer1 .SetWaveWndPopup false
KaraokeMixer1 .SetWaveWndStyle 1
KaraokeMixer1 .SetWaveWndPos 418, 0, 400,300
KaraokeMixer1 .SetWaveWndColor 0, RGB(255,0,0)
KaraokeMixer1 .SetWaveWndColor 1, RGB(0,255,0)
KaraokeMixer1 .SetWaveWndOffSet 0 ,-50
KaraokeMixer1 .SetWaveWndDivisor 12
KaraokeMixer1 .WMVProfile=0
KaraokeMixer1 .OutputType =1
KaraokeMixer1 .AudioFileName = "c:\test.wma"
KaraokeMixer1 .Start