Remarks
Creates a new instance of the TracksBoard object on the given parent window in order to display the user interface of 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]
control.TracksBoard.Create (
nReserved as Integer,
hWndParent as OLE_HANDLE,
nLeft as Long,
nTop as Long,
nWidth as Long,
nHeight as Long,,
nInitialDurationMs Long,
nTracks as Integer
) as enumErrorCodes
|
|
[C++]
short control.TracksBoard.Create (
short nReserved,
OLE_HANDLE hWndParent,
long nLeft,
long nTop,
long nWidth,
long nHeight,
long nInitialDurationMs,
short nTracks
);
|
|
Parameter
|
Description
|
|
|
nReserved
|
Reserved for future uses, should be set to 0
|
hWndParent
|
Handle of the parent window, usually the container form.
|
nLeft
|
Left position of the window, expressed in client coordinates (pixels) of hWndParent
|
nTop
|
Top position of the window, expressed in client coordinates (pixels) of hWndParent
|
nWidth
|
Width of the window, expressed in pixels
|
nHeight
|
Height of the window, expressed in pixels
|
nInitialDurationMs
|
Initial duration of the empty tracksboard, expressed in milliseconds
|
nTracks
|
Initial number of tracks
|
Return value
Value
|
Meaning
|
|
|
Negative value
|
An error occurred, check the LastError property value in order to get the error code
|
enumErrorCodes.ERR_NOERROR (0)
|
The method call was successful
|
|