Danilo's toolbar Pro -converted to PB source! (Updated.)

Developed or developing a new product in PureBasic? Tell the world about it.
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

Arse crap knackers!!! :)

Bug found!

I've misinterpreted Danilo's meaning with 3 commands. This has caused a crash with one of my applications! Easy to fix.

No time to fix now, so will fix later tonight. For now I'll remove the download.
I may look like a mule, but I'm not a complete ass.
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

Bug fixed. The download (first post) is up and running again. :)
I may look like a mule, but I'm not a complete ass.
User avatar
Flype
Addict
Addict
Posts: 1542
Joined: Tue Jul 22, 2003 5:02 pm
Location: In a long distant galaxy

Post by Flype »

hello srod, should i recompile the libs ?
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

Already done and part of the new download. :)
I may look like a mule, but I'm not a complete ass.
User avatar
Flype
Addict
Addict
Posts: 1542
Joined: Tue Jul 22, 2003 5:02 pm
Location: In a long distant galaxy

Post by Flype »

perfect guy. 8)
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

Update: 1 feb 2007.
I got fed up with the boring 'standard' tooltips and so have changed the default style and added a function to allow you to change the colours and add a title (with icon) to the tooltips etc. See the 'update 1.2.txt' file for details.

See the first post for the download.
I may look like a mule, but I'm not a complete ass.
Dare
Addict
Addict
Posts: 1965
Joined: Mon May 29, 2006 1:01 am
Location: Outback

Post by Dare »

Okay! I missed this and boy am I glad to see it now!

Awesome and thanks.


Been playing with it and wading through code to see what can be done. Is there a doc somewhere (chm, txt) that covers things? Are the docs for PBOSL relevant?

Is it possible to have a multiple row toolbar? Or one toolbar under the other?

Also one that goes vertical down the left or right side of the screen?


Thanks again!
Dare2 cut down to size
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

Dare wrote:Okay! I missed this and boy am I glad to see it now!

Awesome and thanks.
You're welcome, but the credit is all Danillo's. I literally converted his code line by line.
Been playing with it and wading through code to see what can be done. Is there a doc somewhere (chm, txt) that covers things? Are the docs for PBOSL relevant?
Quote from the readme.txt (now renamed 'DareToReadme.txt' :) )

"Help manual.

There isn't one!
Instead, use the chm help manual which comes with Danilo's original toolbar pro library which can be found in the PBOSL download package."

Is it possible to have a multiple row toolbar? Or one toolbar under the other?
Have a look at nxAddTBbreak()
Also one that goes vertical down the left or right side of the screen?
Place the toolbar in a container and, have a look at nxAddTBbreak() :)
I may look like a mule, but I'm not a complete ass.
Dare
Addict
Addict
Posts: 1965
Joined: Mon May 29, 2006 1:01 am
Location: Outback

Post by Dare »

srod wrote:now renamed 'DareToReadme.txt' :)
:lol:

Perhaps I should read the readme.
Dare2 cut down to size
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

Dare wrote:
srod wrote:now renamed 'DareToReadme.txt' :)
:lol:

Perhaps I should read the readme.

Bloody right you should! I spent all of 5 minutes writing that, and the least you could do is read it! :wink:

:)
I may look like a mule, but I'm not a complete ass.
Dare
Addict
Addict
Posts: 1965
Joined: Mon May 29, 2006 1:01 am
Location: Outback

Post by Dare »

:D

Well if you won't accept props on the effort made in converting across Danilo's original code then accept some on the readme.

Congrats on a great readme!
Dare2 cut down to size
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

:lol:
I may look like a mule, but I'm not a complete ass.
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

Update: 12 September 2007.

Have added a new command which has no corresponding command in Danilo's original library :

Code: Select all

nxAddTBImage(hTb, hImage) 
Please see the first post for details and the download link.
I may look like a mule, but I'm not a complete ass.
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

Bug fix: 27 September 2007.

Fixed a damn cursed bug which took me an age to figure out! :x

The library was inadvertently setting the #CCS_ADJUSTABLE style causing the Windows customising dialogue to show briefly whenever a toolbar was double clicked!

Please see the first post for the download link.
I may look like a mule, but I'm not a complete ass.
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

Update: 10 October 2007.
Large toolbar icons would exhibit a nasty dithering effect. This has been fixed thanks to fangbeast who pointed me in the right direction here!

See the first post for the download link.
I may look like a mule, but I'm not a complete ass.
Post Reply