Copyright © 2011-2019 MultiMedia Soft

GraphicBarsManager.SetGraphicalSettings method

Previous pageReturn to chapter overviewNext page

Remarks

 

Modifies the graphical settings for the given graphic bar. Current settings can be obtained through the GraphicBarsManager.GetGraphicalSettings method.

 

For further details about methods of the Graphic Bars Manager refer to the GraphicBarsMan class.

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]

Public Function GetGraphicalSettings (

hWndGraphicBar as IntPtr,

settings as GRAPHIC_BAR_SETTINGS

) as enumErrorCodes


 

[C#]

public enumErrorCodes GetGraphicalSettings (

IntPtr hWndGraphicBar,

GRAPHIC_BAR_SETTINGS settings

);


 

[C++]

public: enumErrorCodes GetGraphicalSettings (

IntPtr hWndGraphicBar,

GRAPHIC_BAR_SETTINGS settings

);


 

 

Parameter

Description

 

 

hWndGraphicBar

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

settings

Object of class GRAPHIC_BAR_SETTINGS containing the graphical settings of the graphic bar.

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred (see the LastError property for further error details)

enumErrorCodes.NOERROR (0)

The method call was successful.