Copyright © 2006-2018 MultiMedia Soft

CallbackWaveformScrollerMouseNotifSet method

Previous pageReturn to chapter overviewNext page



Sets the function of the CallbackWaveformScrollerMouseNotif callback delegate which notifies about mouse actions 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 CallbackWaveformScrollerMouseNotifSet (

function as CallbackWaveformScrollerMouseNotif

) as enumErrorCodes



public enumErrorCodes CallbackWaveformScrollerMouseNotifSet (

CallbackWaveformScrollerMouseNotif function




public: enumErrorCodes CallbackWaveformScrollerMouseNotifSet (

CallbackWaveformScrollerMouseNotif 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 CallbackWaveformScrollerMouseNotifSetPtr (

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