I am using Visual Studio 2008.
I have a problem with AddItem
in CMFCToolBarComboBoxButton
.
I added CMFCToolBarComboBoxButton
to tool bar (I used this solutions: click here).
The problem is call AddItem()
method in run time.
I checked in Quick Watch object which calls this method. In this object, the new value appears. But I don't see it in application.
What can be wrong?
Thanks in advance.
There is wrong method to use. The correct method is ReplaceButton().