Copyright © 2008-2023 MultiMedia Soft

TracksBoard.SettingsItemSet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Sets graphical settings for sound items shown on the TracksBoard. Current settings can be obtained through the TracksBoard.SettingsItemGet 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.SettingsItemSet (

settings as Long,

hFontText as OLE_HANDLE

) as enumErrorCodes


 

[C++]

short control.TracksBoard.SettingsItemSet (

void *settings,

OLE_HANDLE hFontText

);


 

 

Parameter

Description

 

 

settings

Address of a structure of type TRACKSBOARD_ITEM_SETTINGS that contains the item's title text current settings.

hFontText

The handle to the font that needs to be used for rendering the text.

The component will make a copy of this font so, when the method's call returns to the caller, you can remove this font from system resources by calling the DeleteObject function of the Windows API.

 

 

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.