Copyright © 2008-2019 MultiMedia Soft

WaveformScroller.Create method

Previous pageReturn to chapter overviewNext page

Remarks

 

Creates a new instance of the WaveformScroller class on the given parent window.

 

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

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]

Public Function Create (

hWndParent as IntPtr,

nLeft as Int32,

nTop as Int32,

nWidth as Int32,

nHeight as Int32

) as IntPtr


 

[C#]

public IntPtr Create (

IntPtr hWndParent,

Int32 nLeft,

Int32 nTop,

Int32 nWidth,

Int32 nHeight

);


 

[C++]

public: IntPtr Create (

IntPtr hWndParent,

Int32 nLeft,

Int32 nTop,

Int32 nWidth,

Int32 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

 

 

IntPtr.Zero

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

Other values

Handle (HWND) of the new waveform scroller