Karaoke Mixer ActiveX Control

PBSetWaveWndPos 

 

Set the window position of Playback 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 .ShowPlaybackWaveForm =true
KaraokeMixer1 .PBSetWaveWndCaption "My WaveForm Window"
KaraokeMixer1 .PBSetWaveWndOwner me.hWnd
KaraokeMixer1 .PBSetWaveWndPopup false
KaraokeMixer1 .PBSetWaveWndStyle 1
KaraokeMixer1 .PBSetWaveWndPos 418, 0, 400,300
KaraokeMixer1 .PBSetWaveWndColor 0, RGB(255,0,0)
KaraokeMixer1 .PBSetWaveWndColor 1, RGB(0,255,0)
KaraokeMixer1 .PBSetWaveWndOffSet 0 ,-50
KaraokeMixer1 .PBSetWaveWndDivisor 12
KaraokeMixer1 .PBLoadAudioFile "c:\music.mp3"
KaraokeMixer1 .PBPlay