Copyright © 2005-2023 MultiMedia Soft

CallbackWaveformScrollerMouseNotifSet method

Previous pageReturn to chapter overviewNext page

Remarks

 

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.

 

 

Syntax

 

[Visual Basic]

Public Function CallbackWaveformScrollerMouseNotifSet (

function as CallbackWaveformScrollerMouseNotif

) as enumErrorCodes


 

[C#]

public enumErrorCodes CallbackWaveformScrollerMouseNotifSet (

CallbackWaveformScrollerMouseNotif function

);


 

[C++]

public: enumErrorCodes CallbackWaveformScrollerMouseNotifSet (

CallbackWaveformScrollerMouseNotif function

);


 

 

Parameter

Description

 

 

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

);


 

Parameter

Description

 

 

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

 

Value

Meaning

 

 

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.