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]
control.WaveformScroller.Move (
hWndWaveformScroller as OLE_HANDLE,
nLeft as Long,
nTop as Long,
nWidth as Long,
nHeight as Long
) as enumWanErrorCodes
|
|
[C++]
short control.WaveformScroller.Move (
OLE_HANDLE hWndWaveformScroller,
long nLeft,
long nTop,
long nWidth,
long 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, check the LastError property value in order to get the error code
|
enumWanErrorCodes.ERR_WAN_NOERROR (0)
|
The method call was successful
|
|