New Library for PureBasic: Coolbar v0.1 BETA

Developed or developing a new product in PureBasic? Tell the world about it.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Danilo.

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
The Library is earlier beta, but works
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)
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Don.

Wow - this is REALLY great! Thanks Danilo

Don
Post Reply