Remarks
Modifies the graphical settings for the given graphic bar. Current settings can be obtained through the GraphicBarsManager.GetGraphicalSettings 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
) as enumErrorCodes
|
|
[C++]
short control.GraphicBarsManager.SetGraphicalSettings (
OLE_HANDLE hWndGraphicBar,
void *pParamData
);
|
|
Parameter
|
Description
|
|
|
hWndGraphicBar
|
Handle of the control returned by a previous call to the GraphicBarsManager.Create method
|
pParamData
|
Address of a structure of type GRAPHIC_BAR_SETTINGS containing graphical settings of the graphic bar.
|
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
|
|