int Toolbar_GetAreaOnPanel (int panel, Rect *area);
Fills out a Rect indicating the area occupied by toolbars docked on the specified panel.
This area can be used to adjust the position of other controls on the panel. This function can be used well in conjunction with the TOOLBAR_EVENT_ARRANGE event.
Input | ||
Name | Type | Description |
panel | int | The handle of the panel whose toolbar area will be computed. |
Output | ||
Name | Type | Description |
area | int | Set to the smallest area which contains all toolbars docked to the specified panel. |
Name | Type | Description |
status | integer | Return value indicating whether the function was successful. A negative number indicates that an error occurred. |