Copyright © 2008-2023 MultiMedia Soft

TRACKSBOARD_SCROLLBARS_SETTINGS structure

Previous pageReturn to chapter overviewNext page

The TRACKSBOARD_SCROLLBARS_SETTINGS structure describes settings applied while rendering the scrollbars on the TracksBoard. The current settings can be retrieved through the TracksBoard.SettingsScrollbarsGet method and modified through the TracksBoard.SettingsScrollbarsSet 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.

 

Visual C++ definition

 

typedef struct

{

     short nHeightInPixels;

     short bVisibleTop;

     short bVisibleBottom;

     short bVisibleRight;

     OLE_COLOR colorBackground;

     OLE_COLOR colorThumb;

} TRACKSBOARD_SCROLLBARS_SETTINGS;

 

This data structure is defined inside the AdjMmsEngDef.h header file which can be found inside the product's Include directory (default \Program files\MultiMedia Soft\Active Sound Editor\include).

 

Visual Basic definition

 

Public Type TRACKSBOARD_SCROLLBARS_SETTINGS

    nHeightInPixels as Integer

    bVisibleTop as Boolean

    bVisibleBottom as Boolean

    bVisibleRight as Boolean

    colorBackground as OLE_COLOR

    colorThumb as OLE_COLOR

End Type

 

This data structure is defined inside the AdjMmsEngDef.bas module file which can be found inside the product's Include directory (default \Program files\MultiMedia Soft\Active Sound Editor\include).

 

 

 

 

Member

Description

 

 

nSizeInPixels

Size of scrollbars in pixels.

By default this value is set to 12 and cannot be set to a value lower than 6: eventual lower values will be automatically capped to the nearest valid value.

bVisibleTop

Boolean value that specifies if the top horizontal scrollbar is visible.

Supported values are the following:

Mnemonic constant

Meaning

BOOL_FALSE

Doesn't display top scrollbar

BOOL_TRUE (default)

Displays top scrollbar

bVisibleBottom

Boolean value that specifies if the bottom horizontal scrollbar is visible.Supported values are the following:

Mnemonic constant

Meaning

BOOL_FALSE

Doesn't display bottom scrollbar

BOOL_TRUE (default)

Displays bottom scrollbar

bVisibleRight

Boolean value that specifies if the right vertical scrollbar is visible.Supported values are the following:

Mnemonic constant

Meaning

BOOL_FALSE

Doesn't display right scrollbar

BOOL_TRUE (default)

Displays right scrollbar

colorBackground

Color used for rendering the scrollbars background.

colorThumb

Color used for rendering the scrollbars thumb.