When I do toolbar I add the strings and associate their indexes with buttons. Then I add buttons but strings don't appear (but buttons change size). When I call TB_GETSTRING(idBtn, lpBuf) it returns 0. help
Posted on 2001-03-24 04:14:00 by Alexey
Could you post a piece of your code? Thomas
Posted on 2001-03-24 07:05:00 by Thomas
Invoke SendMessage, hTb, TB_BUTTONSTRUCTSIZE, TBBUTTON, NULL Invoke SendMessage, hTb, TB_ADDSTRING, NULL, addr tbstr Invoke SendMessage, hTb, TB_SETBUTTONSIZE, NULL, 200020h Invoke SendMessage, hTb, TB_ADDBUTTONS, TBBUTTONS, addr TbBtns .data STRING tbstr,'asdg/0' STRING ,'afdgad/0' STRING ,'afdgad/0' STRING ,'afdgad/0' STRING ,'afdgad/0/0' and set of TBBUTTON structs In reality code much different with images and so on Can you write who you create toolbar?
Posted on 2001-03-24 07:36:00 by Alexey