Copyright © 2001-2023 MultiMedia Soft

TracksBoardItemClick event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs when a mouse button is clicked over a sound item available on the TracksBoard.

 

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]

TracksBoardItemClick (

ByVal nButton as enumMouseButtons,

ByVal nUniqueId as Integer,

ByVal nPressPosInMs as Long

)


 

[C++]

void TracksBoardItemClick (

short nButton,

short nUniqueId,

long nPressPosInMs

);


 

 

Parameter

Description

 

 

nButton

Clicked mouse button.

Supported values are the following:

Mnemonic constant

Value

Meaning

MOUSE_BTN_LEFT

0

Left mouse button

MOUSE_BTN_RIGHT

1

Right mouse button

MOUSE_BTN_MIDDLE

2

Middle mouse button

nUniqueID

Unique identification number assigned to the sound item after being generated by one of the following methods:

TracksBoard.ItemClone when an existing item has been cloned

nPressPosInMs

Position of the click, expressed in milliseconds, respect to the beginning of the session