Copyright © 2011-2018 MultiMedia Soft

WaveformScroller.PlaybackOnScrollInfoGet method

Previous pageReturn to chapter overviewNext page



Enables/disables playback of audio data during the manual scroll of the waveform through the mouse.

Current settings can be modified through the WaveformScroller.PlaybackOnScrollEnable 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.





[Visual Basic]

Public Function PlaybackOnScrollInfoGet (

hWndWaveformScroller as IntPtr,

ByRef bEnable as Boolean,

ByRef nScrollSensitivity as Int32

) as enumErrorCodes



public enumErrorCodes PlaybackOnScrollInfoGet (

IntPtr hWndWaveformScroller,

ref bool bEnable,

ref Int32 nScrollSensitivity




public: enumErrorCodes PlaybackOnScrollInfoGet (

IntPtr hWndWaveformScroller,

bool __gc *bEnable,

Int32 __gc *nScrollSensitivity








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


Reference that, on return from the method call, will contain the boolean value that specifies if playback is enabled or disabled.

Supported values are the following:



false (default)

Playback is disabled


Playback is enabled


Reference that, on return from the method call, will contain the scroll sensitivity expressed in percentage.

Default value is 100, meaning that audio data will be played at the same rate of the waveform scrolling during mouse movement: values lower than 100 will decrease the speed of playback while values higher than 100 will increase the speed of playback.



Return value






Negative value

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

enumErrorCodes.NOERROR (0)

The method call was successful.