Copyright © 2011-2019 MultiMedia Soft

WaveformAnalyzer.Move method

Previous pageReturn to chapter overviewNext page

Remarks

 

Moves or resizes an existing instance of the WaveformAnalyzer.

 

In case of a resize operation, the CallbackWaveformAnalyzerWidth delegate is invoked.

 

For further details about callback delegates see the How to synchronize the container application with the API tutorial.

For details about the use of the Waveform Analyzer refer to the How to use the Waveform Analyzer section.

For further details about methods of the Waveform Analyzer refer to the WaveformAnalyzer class section.

 

 

Syntax

 

[Visual Basic]

Public Function Move (

nLeft as Int32,

nTop as Int32,

nWidth as Int32,

nHeight as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes Move (

Int32 nLeft,

Int32 nTop,

Int32 nWidth,

Int32 nHeight

);


 

[C++]

public: enumErrorCodes Move (

Int32 nLeft,

Int32 nTop,

Int32 nWidth,

Int32 nHeight

);


 

 

Parameter

Description

 

 

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

 

 

Negative value

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

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.