Is there any msg I could send to a toolbar so that the text of all the buttons is hided or shown? I know one possebilty is to destroy the whole toolbar and then create a new one, without text. But I hope there is a faster possebility than this one.:grin:
Posted on 2002-08-08 14:07:48 by Marwin
I guess you add strings to toolbar buttons with TB_ADDSTRING. Then you specify the string index in TBBUTTON structure. I was unable to find a message to modify a button, so I guess you have to delete all buttons, and readd with all buttons with no string indices.
Posted on 2002-08-08 15:12:08 by comrade
Hm not the best method I think. Microsoft has forgotten this msg;)
But it seems that there is no other way to remove the text, so I have to do so.

Ok, thank you
Posted on 2002-08-09 14:00:56 by Marwin
No chance! After deleted all the buttons (with text) I've added the buttons again, but without text. This works. All buttons where shown without texts. But when I want to delete all the buttons and add buttons with text it seems that nothing happens. The function(s) returned "no error", but no text was visible. So I decided to destroy the whole toolbar by using DestroyWindow and the create a new toolbar. This works fine.

:) Marwin
Posted on 2002-08-12 06:53:30 by Marwin