Toolbar and button sizes ?

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
USCode
Addict
Addict
Posts: 924
Joined: Wed Mar 24, 2004 11:04 pm
Location: Seattle

Toolbar and button sizes ?

Post by USCode »

How come we're not given the option by the PB Toolbar library to Set the Toolbar height and the width/height of Toolbar buttons?

Would it then not be cross-platform or some other reason?

I'd like to create a larger toolbar AND have it be cross-platform...
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Post by Joakim Christiansen »

Why no answer?
I would also like to be able to make bigger toolbar buttons.

Could anyone help me with some code for this?
I like logic, hence I dislike humans but love computers.
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8452
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Post by netmaestro »

Could anyone help me with some code for this?
It's a matter of creating the toolbar using API commands and messages, one of which will be #TB_SETBUTTONSIZE. You can find full documentation and examples for doing this in the PSDK. Alternatively, member PrincieD has the ProGUI library under development, which I believe allows for this.
BERESHEIT
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

There's also Danilo's ToolbarPro in the PBOSL package which works a treat.
I may look like a mule, but I'm not a complete ass.
User avatar
Guimauve
Enthusiast
Enthusiast
Posts: 742
Joined: Wed Oct 22, 2003 2:51 am
Location: Canada

Post by Guimauve »

Check this post in the Trick'n Tips

http://www.purebasic.fr/english/viewtopic.php?t=22133

Regards

Guimauve
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Post by Joakim Christiansen »

Thank you Guimauve! :D
I like logic, hence I dislike humans but love computers.
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

Aye that's pretty neat! Thanks.

:D
I may look like a mule, but I'm not a complete ass.
Post Reply