Morning !!
Coolbars (also called ReBars) are the
bars like in the Internet Explorer Menu.
You can place the Coolbar on 4 sides
of a window (top, bottom, left, right)
and in every (child)window.
You can place every child window on
a Coolbar.... Toolbars, Buttons,...
The Library contains 5 commands:
Code: Select all
CreateCoolbar() - Create the Coolbar and attach it to a window
DestroyCoolbar() - Destroy a Coolbar (cleanup at the end)
UpdateCoolbar() - Update the Coolbar (needed for resizing the Window)
AddCoolbarBand() - Add a child window as a new CoolbarBand
DeleteCoolbarBand() - Delete a Band
fine in non-resizeable Windows.
There is a big problem if you can
resize the window:
If the CoolbarBand is too big and you
want to resize the main window smaller
than the Band, the application hangs.
I tried several things but cant find
the bug atm.
If you use it with fixed width windows
only, it works fine (see example 2).
BETA-Source is included, so everybody
can help and search the bug now...
You can download the Library from the
PureBasic Ressource site after Paul
has added it.
Thanks,
...Danilo
(registered PureBasic user)