Copyright © 2008-2018 MultiMedia Soft

WaveformScroller.Create method

Previous pageReturn to chapter overviewNext page

Remarks

 

Creates a new instance of the WaveformScroller object 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 (

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 (

OLE_HANDLE hWndParent,

long nLeft,

long nTop,

long nWidth,

long nHeight

);


 

Parameter

Description

 

 

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