Copyright © 2006-2018 MultiMedia Soft

GraphicBarsManager.SetValue method

Previous pageReturn to chapter overviewNext page

Remarks

 

Sets a new value into the graphic bar. The current value can be obtained through the GraphicBarsManager.GetValue 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.SetValue (

hWndGraphicBar as OLE_HANDLE,

nValue as Long

) as enumErrorCodes


 

[C++]

short control.GraphicBarsManager.SetValue (

OLE_HANDLE hWndGraphicBar,

long nValue

);


 

 

Parameter

Description

 

 

hWndGraphicBar

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

nValue

New value

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred, check the LastError property value in order to get the error code

enumErrorCodes.ERR_NOERROR (0)

The method call was successful