Copyright © 2005-2023 MultiMedia Soft

OnWaveformScrollerManualScroll event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs when a manual move is performed through the mouse on the waveform scroller.

 

This event replaces the usage of the CallbackWaveformScrollerManualScroll delegate and is only intended for usage with applications developed using Visual Basic 6 (which results unreliable when dealing with delegates and callbacks) and, in order to be enabled, requires a call to the COMEventEnable method with the nEventType parameter set to EVENT_TYPE_WAVE_SCROLL_MANUAL.

 

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 6]

Private Sub DjStudioApi_OnWaveformScrollerManualScroll ( _

ByVal hWndWaveformScroller as Long, _

ByVal nNewPosInMs as Long _

)

 

where "DjStudioApi" is declared in Visual Basic 6 code as:

 

Dim WithEvents DjStudioApi As AudioDjStudioApi.AudioDjStudioApiObj


 

 

Event Data

 

Parameters

Description

 

 

hWndWaveformScroller

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

nNewPosInMs

New sound position expressed in milliseconds after a manual scrolling operation