Copyright © 2005-2019 MultiMedia Soft

WaveformScroller.Move method

Previous pageReturn to chapter overviewNext page

Remarks

 

Moves or resizes an existing waveform scroller control.

 

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]

Public Function Move (

hWndWaveformScroller as IntPtr,

nLeft as Int32,

nTop as Int32,

nWidth as Int32,

nHeight as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes Move (

IntPtr hWndWaveformScroller,

Int32 nLeft,

Int32 nTop,

Int32 nWidth,

Int32 nHeight

);


 

[C++]

public: enumErrorCodes Move (

IntPtr hWndWaveformScroller,

Int32 nLeft,

Int32 nTop,

Int32 nWidth,

Int32 nHeight

);


 

 

Parameter

Description

 

 

hWndWaveformScroller

Handle of the control returned by a previous call to the WaveformScroller.Create method

nLeft

Left position of the window, expressed in parent's client coordinates (pixels)

nTop

Top position of the window, expressed in parent's client coordinates (pixels)

nWidth

Width of the window, expressed in pixels

nHeight

Height of the window, expressed in pixels

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred (see the LastError property for further error details)

enumErrorCodes.NOERROR (0)

The method call was successful.