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:
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.
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
But it seems that there is no other way to remove the text, so I have to do so.
Ok, thank you
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
:) Marwin