Audio Capture 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
AudioCapture1.ShowWaveForm=True
AudioCapture1.SetWaveWndCaption "My WaveForm Window"
AudioCapture1.SetWaveWndOwner me.hWnd
AudioCapture1.SetWaveWndPopup false
AudioCapture1.SetWaveWndStyle 1
AudioCapture1.SetWaveWndPos 418, 0, 400,300
AudioCapture1.SetWaveWndColor 0, RGB(255,0,0)
AudioCapture1.SetWaveWndColor 1, RGB(0,255,0)
AudioCapture1.WMVProfile=0
AudioCapture1.OutputType =1
AudioCapture1.AudioFileName = "c:\test.wma"
AudioCapture1.Start