I test the Teste94 (Main) program with the last HMG version. There is always the problem with the toolbar picture that does not change.
More strange I delete the clause picture in the define button Button_1. When I click nothing happens but when I click a second time the caption and the picture change. I have added the msginfo to be sure that I have clicked.
IMHO as is in TOOLBUTTON at SETTOOLBUTTONCAPTION function C for captions we also will need one special C function to change images in TOOLBUTTONs by the TBIF_IMAGE (TB_SETBUTTONINFO).
Most probably Dr. Claudio could helps in that.
HMGing a better world "Matter tells space how to curve, space tells matter how to move." Albert Einstein
I have made some more tests for the button picture.
If I delete the picture of the button (picture ="") then I have to assign two times the picture value "button5.bmp" to the button of the form (line 46 and 47). If I do the same thing for the caption there is no problem.
It seems to be a bug. Perhaps Dr. Caudio can do something?