Adding Combo Boxes to Ribbon Panels

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I preparing an addin written in VB.NET VS2008 which allows uses to do several different function depending on the type of document opened and the ribbon environment active.
I have add lots of different icons/buttons to execute simple runtime commands, but I wish to develop my code a little better.
I currently have code that when the button is pressed opens a form with a combo box. If the active file opened in the workspace is as Assembly Document, the combo box is populated with the colors from the Styles Library. Once the user selects a colour, the program then cycles through all of the parts in the assembly and changes the colour at the part level be that which the user has selected.
I would like to short cut around opening the form and maybe add a combo box definition directly to my custom panel that I have created in the "id_TabAssemble" Tab ribbon.
So I guess my question is does someone have a snippet of code which adds a combo box to a ribbon Tab panel and allows that combo box to populated with whatever the user desires.
People may say that this is already done with the colour combobox that is in the Quick Tool menu for assemblies, however this colour change is only at the view rep level and not at the part level, if the part is used again in a different assembly the colour will be the original colour.
Any help will be greatly appreciated