Click to See Complete Forum and Search --> : How to Create Buttons dynamically on Tool Bar


kiru
July 23rd, 1999, 02:22 PM
HI,
I wanted to create buttons dynamically on tool bar. I added a tool bar resource with 2 buttons & I tried to create buttons on tool bar dynamically .It is creating the buttons but the tool bar width is not changing.

proskig
July 23rd, 1999, 02:33 PM
I think you should call CToolBar::AutoSize after adding button. Feel free to contact me if it will not help and provide me with your code.

proskig@hotmail.com

Best Regards,
Igor