Copyright © 2008-2023 MultiMedia Soft

TracksBoard.PlayHeadPositionGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Retrieves the position of the play head line. The current position can be modified through the TracksBoard.PlayHeadPositionSet method.

 

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 object section.

 

 

Syntax

 

[Visual Basic]

control.TracksBoard.PlayHeadPositionGet (

ByRef bPlayHeadAvailable as enumBoolean,

ByRef nPosInMs as Long

) as enumErrorCodes


 

[C++]

short control.TracksBoard.PlayHeadPositionGet (

long *bPlayHeadAvailable,

long *nPosInMs

);


 

Parameter

Description

 

 

bPlayHeadAvailable

Reference that, after returning from the method call, will contain the flag for play head line availability.

Supported values are the following:

Value

Meaning

BOOL_FALSE

Play head line is currently unavailable

BOOL_TRUE

Play head line is currently available and its position is stored inside the nPosInMs parameter

nPosInMs

Reference that, after returning from the method call, will contain the play head line position, expressed in milliseconds

 

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred (see the LastError property for further error details)

enumErrorCodes.ERR_NOERROR (0)

The method call was successful