Copyright © 2008-2018 MultiMedia Soft

GraphicBarsManager.Move method

Previous pageReturn to chapter overviewNext page

Remarks

 

Moves or resizes an existing graphic bar control.

 

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.Move (

hWndGraphicBar as OLE_HANDLE,

nLeft as Long,

nTop as Long,

nWidth as Long,

nHeight as Long

) as enumErrorCodes


 

[C++]

short control.GraphicBarsManager.Move (

OLE_HANDLE hWndGraphicBar,

long nLeft,

long nTop,

long nWidth,

long nHeight

);


 

Parameter

Description

 

 

hWndGraphicBar

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

nLeft

Left position of the window, expressed in parent's client coordinates (pixels)

nTop

Top position of the window, expressed in parent's client coordinates (pixels)

nWidth

Width of the window, expressed in pixels

nHeight

Height of the window, expressed in pixels

 

 

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