GetToolbarPos

Gets position information for the specified toolbar.

To get

Use

Docking position of a docked toolbar

Syntax 1 For docked toolbars

Coordinates and size of a floating toolbar

Syntax 2 For floating toolbars


Syntax 1 For docked toolbars

Description

Gets the position of a docked toolbar.

Applies to

MDI frame and sheet windows

Syntax

window.GetToolbarPos ( toolbarindex, dockrow, offset )

Returns

Integer. Returns 1 if it succeeds. GetToolbarPos returns -1 if there is no toolbar for the index you specify or if an error occurs. If any argument’s value is null, GetToolbarPos returns null.


Syntax 2 For floating toolbars

Description

Gets the position and size of a floating toolbar.

Applies to

MDI frame and sheet windows

Syntax

window.GetToolbarPos ( toolbarindex, x, y, width, height )

Returns

Integer. Returns 1 if it succeeds. GetToolbarPos returns -1 if there is no toolbar for the index you specify or if an error occurs. If any argument’s value is null, returns null.