How to make big ToolBarItems incl. Text+Icon?

Just starting out? Need help? Post your questions and find answers here.
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 MrVainSCL.

Hi @ all
Is it possible to create/use big toolbar items (icon + text like in outlook express for example) in purebasic?



Maybe it would be nice to create this toolbar with an optional toolbar flag to the existing command or just to add this kind of toolbar too!? What do you think?


PIII450, 256MB Ram, 6GB HD, RivaTNT, DirectX8.1, SB AWE64, Win2000 + all Updates...

greetz
MrVainSCL! aka Thorsten
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 freak.

Hi,

maybe this one helps you?

http://msdn.microsoft.com/library/defau ... oolbar.asp

Well, i'd take a look myself, but it's late right now, and i'd
rather take some sleep... :):)

Timo

--------------------------------
Programming today is a race between software engineers striving to build bigger and
better idiot-proof programs and the universe trying to produce bigger and better idiots.

...So far, the universe is winning.
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.

What i think ??

I think i wrote the Toolbar library for using it...
( http://www.reelmediaproductions.com/pb/ )

cya,
...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 MrVainSCL.

Hi Danilo
Sure, i know your ToolBarProLib for PureBasic and as you remeber i have tested it too while you developed it... I would have this big ToolBarItems like in Outlook for example... When i want the same result in PB with your Lib, i have to use images (icons) including the text as graphic, isnt it? So i cant change the text inside an icon and have to repaint the icon...!?

So my question was... how to use this big ToolBarItems with small icons and user defined text on it?

Sure you could add a image (icon including the text) but this would not so flexibel if you need to change a text or whatever... Hope you now understand what i am searching for...

Anyway thanks... i like your lib!


PIII450, 256MB Ram, 6GB HD, RivaTNT, DirectX8.1, SB AWE64, Win2000 + all Updates...

greetz
MrVainSCL! aka Thorsten
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.

> Sure you could add a image (icon including the text)
> but this would not so flexibel if you need to change
> a text or whatever...
> Hope you now understand what i am searching for...

Sure, i understand.

Maybe you should take a look at v1.0 (June, 23th 2002).
I changed many things in this version and you can do
what you want with the command:
SetTBbuttonText() ..... Set the Text for a Button (under or beside the Button)

cya,
...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 MrVainSCL.

Hi Danilo
Thanks for the tip... i havent noticed the command "SetTBbuttonText()", because i taked only a look to the included examples (there is no one with icon+text) and i had a fast view to the chm file... I havent seen it in the hurry.. thx

I have tried it and its exactly what i need... :wink:

PIII450, 256MB Ram, 6GB HD, RivaTNT, DirectX8.1, SB AWE64, Win2000 + all Updates...

greetz
MrVainSCL! aka Thorsten
Post Reply