Remarks
Creates a new instance of the GraphicBarsMan class on the given parent window.
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 Create (
hWndParent as IntPtr,
nLeft as Int32,
nTop as Int32,
nWidth as Int32,
nHeight as Int32
) as IntPtr
|
|
[C#]
public IntPtr Create (
IntPtr hWndParent,
Int32 nLeft,
Int32 nTop,
Int32 nWidth,
Int32 nHeight
);
|
|
[C++]
public: IntPtr Create (
IntPtr hWndParent,
Int32 nLeft,
Int32 nTop,
Int32 nWidth,
Int32 nHeight
);
|
|
Parameter
|
Description
|
|
|
hWndParent
|
Handle of the parent window, usually the container form.
|
nLeft
|
Left position of the window, expressed in client coordinates (pixels) of hWndParent
|
nTop
|
Top position of the window, expressed in client coordinates (pixels) of hWndParent
|
nWidth
|
Width of the window, expressed in pixels
|
nHeight
|
Height of the window, expressed in pixels
|
Return value
Value
|
Meaning
|
|
|
0
|
An error occurred, check the LastError property value in order to get the error code
|
Other values
|
Handle (HWND) of the new graphic bar
|
|