Copyright © 2005-2023 MultiMedia Soft

CallbackTracksboardWidth delegate

Previous pageReturn to chapter overviewNext page

Remarks

 

Callback delegate invoked every time the TracksBoard's window has been resized horizontally, usually after a call to the TracksBoard.Move method: this callback can be set through a call to the CallbackTracksboardWidthSet method.

 

The usage of this delegate is alternative to the TracksBoardDisplayWidthChange event.

 

For further details about callback delegates see the How to synchronize the container application through callback delegates 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 CallbackTracksboardWidth (

nWidthInMs as Int32,

nWidthInPixels as Int32

)


 

[C#]

public delegate void CallbackTracksboardWidth (

Int32 nWidthInMs,

Int32 nWidthInPixels

)


 

[C++]

public delegate void CallbackTracksboardWidth (

Int32 nWidthInMs,

Int32 nWidthInPixels

)


 

 

Parameter

Description

 

 

nWidthInMs

Width of the display surface, expressed in milliseconds

nWidthInPixels

Width of the display surface, expressed in pixels