Copyright © 2006-2019 MultiMedia Soft

GraphicBarsManager.GetGraphicalSettingsParam method

Previous pageReturn to chapter overviewNext page

Remarks

 

Retrieves one of the current graphical settings for the given graphic bar. Single settings can be modified through the GraphicBarsManager.SetGraphicalSettingsParam method.

This method is an alternative to the GraphicBarsManager.GetGraphicalSettings method and it's provided with the purpose of allowing single settings retrieval when dealing with languages like JavaScript where data structures are not easy to implement.

 

For details about the use of the Graphic Bars Manager refer to the How to perform custom feedbacks rendering using graphic bars section.

For further details about methods of the Graphic Bars Manager refer to the GraphicBarsManager object section.

 

 

Syntax

 

[Visual Basic]

control.GraphicBarsManager.GetGraphicalSettingsParam (

hWndGraphicBar as OLE_HANDLE,

nParam as short

) as String


 

[C++]

BSTR control.GraphicBarsManager.GetGraphicalSettingsParam (

OLE_HANDLE hWndGraphicBar,

short nParam

);


 

Parameter

Description

 

 

hWndGraphicBar

Handle of the control returned by a previous call to the GraphicBarsManager.Create method

nParam

Numeric identifier of the requested parameter.

Supported values are the following:

Value

Meaning

0

nOrientation member of the GRAPHIC_BAR_SETTINGS data structure

1

bAppearance3d member of the GRAPHIC_BAR_SETTINGS data structure

2

bSmoothing member of the GRAPHIC_BAR_SETTINGS data structure

3

bAutomaticDrop member of the GRAPHIC_BAR_SETTINGS data structure

4

bSmoothing member of the GRAPHIC_BAR_SETTINGS data structure

5

colorStart member of the GRAPHIC_BAR_SETTINGS data structure

6

colorEnd member of the GRAPHIC_BAR_SETTINGS data structure

7

nShape member of the GRAPHIC_BAR_SETTINGS data structure

 

 

Return value

 

Value

Meaning

 

 

enumErrorCodes.ERR_NOERROR (0)

The call was successful.

Negative value

An error occurred: see the LastError property for further error details or for a list of the possible error values.