Copyright © 2011-2023 MultiMedia Soft

OnTracksBoardPlayHeadPositionChange event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs whenever the position of TracksBoard's play head line is changed.

 

This event replaces the usage of the CallbackTracksboardPlayHeadPos 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_EDT_TRACKSB_PLAY_HEAD.

 

 

Syntax

 

[Visual Basic]

EditorApi_OnTracksBoardPlayHeadPositionChange (

ByVal bPlayHeadAvailable as Boolean,

ByVal nPosInMs as Long

)

 

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

 

Dim WithEvents EditorApi As AudioSoundEditorApi.AudioSoundEditorApiObj


 

 

Parameter

Description

 

 

bPlayHeadAvailable

Boolean value representing the flag for play head line availability.

Supported values are the following:

Value

Meaning

false

The play head line is hidden. In this case the value passed to the nPosInMs parameter can be ignored.

true

The play head line is visible and its position is passed to the nPosInMs parameter

nPosInMs

The current play head line position, expressed in milliseconds