Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents  
 
GraphicBarsManager.SetRange method 
 
Remarks 
 
Sets the range of values accepted by the graphic bar. The current range can be obtained through the GraphicBarsManager.GetRange 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.SetRange
hWndGraphicBar as OLE_HANDLE, 
nMinValue as Long, 
nMaxValue as Long 
 
[C++] 
short control.GraphicBarsManager.SetRange
OLE_HANDLE hWndGraphicBar, 
long nMinValue
long nMaxValue 
);
 
 
Parameter
Description
 
 
hWndGraphicBar
Handle of the control returned by a previous call to the GraphicBarsManager.Create method
nMinValue
Min value
nMaxValue
Max 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
 
 
 
 
 
 
 
 
Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents