Karaoke Mixer ActiveX Control

PBSetWaveWndColor 

 

Set the color of left or right channel for Playback WaveForm window.

Public Function PBSetWaveWndColor(
     ByVal iChannel As Integer ,_
     ByVal clrWave As COLOR
    )

 

Parameter
iChannel
 0 - Left Channel.
 1 - Right Channel.

clrWave
 the color of waveform

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 .PBLoadAudioFile "c:\music.mp3"
KaraokeMixer1 .PBPlay