Copyright © 2005-2019 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 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 Move (

hWndGraphicBar as IntPtr,

nLeft as Int32,

nTop as Int32,

nWidth as Int32,

nHeight as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes Move (

IntPtr hWndGraphicBar,

Int32 nLeft,

Int32 nTop,

Int32 nWidth,

Int32 nHeight

);


 

[C++]

public: enumErrorCodes Move (

IntPtr hWndGraphicBar,

Int32 nLeft,

Int32 nTop,

Int32 nWidth,

Int32 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 (see the LastError property for further error details)

enumErrorCodes.NOERROR (0)

The method call was successful.