Karaoke Mixer ActiveX Control

SetWaveWndColor 

 

Set the left or right channel of WaveForm 's color.

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

 

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

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 .WMVProfile=0
KaraokeMixer1 .OutputType =1
KaraokeMixer1 .AudioFileName = "c:\test.wma"
KaraokeMixer1 .Start