Gets position information for the specified toolbar.
To get |
Use |
---|---|
Docking position of a docked toolbar |
|
Coordinates and size of a floating toolbar |
Gets the position of a docked toolbar.
MDI frame and sheet windows
window.GetToolbarPos ( toolbarindex, dockrow, offset )
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.
Gets the position and size of a floating toolbar.
MDI frame and sheet windows
window.GetToolbarPos ( toolbarindex, x, y, width, height )
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.