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.
Printable View
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.
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.
[email protected]
Best Regards,
Igor