Copyright © 2006-2018 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 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.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:

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