Copyright © 2001-2019 MultiMedia Soft

WaveformScroller.Create method

Previous pageReturn to chapter overviewNext page

Remarks

 

Creates a new instance of the WaveformScroller object for the given player on the given parent window.

 

For further details about methods of the Waveform scroller refer to the WaveformScroller object.

For a tutorial about the use of Waveform scrollers refer to the How to scroll the sound's waveform during playback tutorial.

 

 

Syntax

 

[Visual Basic]

control.WaveformScroller.Create (

nPlayer as Integer,

hWndParent as OLE_HANDLE,

nLeft as Long,

nTop as Long,

nWidth as Long,

nHeight as Long

) as OLE_HANDLE


 

[C++]

OLE_HANDLE control.WaveformScroller.Create (

short nPlayer,

OLE_HANDLE hWndParent,

long nLeft,

long nTop,

long nWidth,

long nHeight

);


 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the player that will use the waveform scroller

hWndParent

Handle of the parent window, usually the container form.

nLeft

Left position of the window, expressed in client coordinates (pixels) of hWndParent

nTop

Top position of the window, expressed in client coordinates (pixels) of hWndParent

nWidth

Width of the window, expressed in pixels

nHeight

Height of the window, expressed in pixels

 

 

Return value

 

Value

Meaning

 

 

0

An error occurred, check the LastError property value in order to get the error code

Other values

Handle (HWND) of the new waveform scroller