I have an issue regarding toolbar…
I have created custom components and added it to the toolbar. I want the toolbar to update the items dynamically. So I add the items to the toolbar whenever i need a toolbar.
I resize the window to its minimum size so that (button or) PopupMenu appears. I have a problem when the PopupMenu is active i.e. I do not bother to select any of the items in the toolbar. The problem is that the items get duplicated in the popupMenu whenever the popUpMenu is active.
Another problem is that when I say _pToolbar->getNumItems(), the number of items returned will not include the items in the PopupMenu. Is there any solution to get the total items in both toolbar & popupMenu so that i can delete all the items using _pToolbar->clear() ??
Waiting for your reply…
Thanks & Regards,