Audio Capture ActiveX Control

SetWaveWndPos 

 

Set the window position of 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
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