Copyright © 2005-2023 MultiMedia Soft

CallbackTracksboardPlayHeadPos delegate

Previous pageReturn to chapter overviewNext page

Remarks

 

Callback delegate invoked whenever the position of TracksBoard's play head line is changed: this callback can be set through a call to the CallbackTracksboardPlayHeadPosSet method.

 

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

For details about the use of the TracksBoard refer to the How to use the TracksBoard to visually compose songs tutorial.

For further details about methods of the TracksBoard refer to the TracksBoard class section.

 

 

Syntax

 

[Visual Basic]

Public Delegate Sub CallbackTracksboardPlayHeadPos (

bPlayHeadAvailable as Boolean,

nPosInMs as Int32

)


 

[C#]

public delegate void CallbackTracksboardPlayHeadPos (

bool bPlayHeadAvailable,

Int32 nPosInMs

)


 

[C++]

public delegate void CallbackTracksboardPlayHeadPos (

bool bPlayHeadAvailable,

Int32 nPosInMs

)


 

 

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