Copyright © 2008-2019 MultiMedia Soft

GraphicBarsManager.SetGraphicalSettingsParam method

Previous pageReturn to chapter overviewNext page

Remarks

 

Sets one of the graphical settings for the given graphic bar. Value of single settings can be obtained through the GraphicBarsManager.GetGraphicalSettingsParam method.

 

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

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

 

 

Syntax

 

[Visual Basic]

control.GraphicBarsManager.SetGraphicalSettings (

hWndGraphicBar as OLE_HANDLE,

pParamData as Long,

strValue as String

) as enumErrorCodes


 

[C++]

short control.GraphicBarsManager.SetGraphicalSettings (

OLE_HANDLE hWndGraphicBar,

void *pParamData,

LPCTSTR strValue

);


 

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:

Numeric 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

strValue

String representing the numerical value to set: the multimedia engine will manage converting the string into the corresponding numerical value.

 

 

 

 

Return value

 

Value

Meaning

 

 

enumErrorCodes.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.