Remarks
Callback delegate for notifying when a mouse button is clicked over a sound item available on the TracksBoard: this callback can be set through a call to the CallbackTracksboardItemClickedSet 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 CallbackTracksboardItemClicked (
nButton as enumMouseButtons,
nUniqueId as Int32,
nPressPosInMs as Long
)
|
|
[C#]
public delegate void CallbackTracksboardItemClicked (
enumMouseButtons nButton,
Int32 nUniqueId,
Int32 nPressPosInMs
)
|
|
[C++]
public delegate void CallbackTracksboardItemClicked (
enumMouseButtons nButton,
Int32 nUniqueId,
Int32 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:
|
nPressPosInMs
|
Position of the click, expressed in milliseconds, respect to the beginning of the session
|
|