Copyright © 2013-2017 MultiMedia Soft

WaveformScroller.SettingsSet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Modifies the graphical settings for the given graphic bar. Current settings can be obtained through the WaveformScroller.SettingsGet method.

 

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.SettingsSet (

hWndWaveformScroller as IntPtr,

settings as Long

) as enumWanErrorCodes


 

[C++]

short control.WaveformScroller.SettingsSet (

IntPtr hWndWaveformScroller,

void *settings

);


 

 

Parameter

Description

 

 

hWndWaveformScroller

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

settings

Address of a structure of type WSCROLLER_SETTINGS containing the waveform scroller new settings.

 

 

Return value

 

Value

Meaning

 

 

Negative value

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

enumWanErrorCodes.ERR_WAN_NOERROR (0)

The method call was successful.