Remarks
Obtains the current value set into the graphic bar. The current value can be modified through the GraphicBarsManager.SetValue 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 GraphicBarsMan class section.
Syntax
[Visual Basic]
Public Function GetValue (
hWndGraphicBar as IntPtr,
ByRef nValue as Int32
) as enumErrorCodes
|
|
[C#]
public enumErrorCodes GetValue (
IntPtr hWndGraphicBar,
ref Int32 nValue
);
|
|
[C++]
public: enumErrorCodes GetValue (
IntPtr hWndGraphicBar,
Int32 __gc *nValue
);
|
|
Parameter
|
Description
|
|
|
hWndGraphicBar
|
Handle of the control returned by a previous call to the GraphicBarsManager.Create method
|
nValue
|
Reference to current value
|
Return value
Value
|
Meaning
|
|
|
Negative value
|
An error occurred (see the LastError property for further error details)
|
enumErrorCodes.ERR_NOERROR (0)
|
The method call was successful.
|
|