Audio Capture ActiveX Control

SetWaveWndStyle 

 

Set the window style of waveform window if SetWaveWndPopUp to true.

Public Function SetWaveWndStyle(
     ByVal iStyle As Integer
    )

 

Parameter
iStyle
0 - No Resize the popup window.
1 - Allow Resize the popup window

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.SetWaveWndOffSet 0 ,-50
AudioCapture1.SetWaveWndDivisor 12
AudioCapture1.WMVProfile=0
AudioCapture1.OutputType =1
AudioCapture1.AudioFileName = "c:\test.wma"
AudioCapture1.Start