Copyright © 2011-2018 MultiMedia Soft

CallbackWaveformScrollerManualScrollSet method

Previous pageReturn to chapter overviewNext page



Sets the function of the CallbackWaveformScrollerManualScroll callback delegate which notifies about manual movements performed through the mouse on the waveform scroller.


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

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 CallbackWaveformScrollerManualScrollSet (

function as CallbackWaveformScrollerManualScroll

) as enumErrorCodes



public enumErrorCodes CallbackWaveformScrollerManualScrollSet (

CallbackWaveformScrollerManualScroll function




public: enumErrorCodes CallbackWaveformScrollerManualScrollSet (

CallbackWaveformScrollerManualScroll function









Callback function



when using the API from Unmanaged C++ through COM interaction, where the client application is totally unaware about .NET delegates, you should use the "Ptr" version of the method which allows passing the pointer to the callback function:


[Unmanaged C++]

enumErrorCodes CallbackWaveformScrollerManualScrollSetPtr (

(UINT_PTR) functionPointer








Pointer to the callback function.

See the Adding the API to an unmanaged Visual C++ project tutorial for details about usage of the "Ptr" version of these methods.



Return value






Negative value

An error occurred. Check the LastError property value in order to see the last error.

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.