Copyright © 2005-2018 MultiMedia Soft

WaveformScroller.Create method

Previous pageReturn to chapter overviewNext page

Remarks

 

Creates a new instance of the WaveformScroller class for the given player 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 (

nPlayerIndex as Int16,

hWndParent as IntPtr,

nLeft as Int32,

nTop as Int32,

nWidth as Int32,

nHeight as Int32,

colorParentBackColor as Color

) as IntPtr


 

[C#]

public IntPtr Create (

Int16 nPlayerIndex,

IntPtr hWndParent,

Int32 nLeft,

Int32 nTop,

Int32 nWidth,

Int32 nHeight,

Color colorParentBackColor

);


 

[C++]

public: IntPtr Create (

Int16 nPlayerIndex,

IntPtr hWndParent,

Int32 nLeft,

Int32 nTop,

Int32 nWidth,

Int32 nHeight,

Color colorParentBackColor

);


 

Parameter

Description

 

 

nPlayerIndex

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

colorParentBackColor

Background color of the parent window

 

 

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