Deep Dive document download for the Combobox Reference sample included in the VS SDK.
Introduction
The user interface of Visual Studio allows extensions to use comboboxes to enhance the user experience and provide users with a more intuitive way to select and execute commands. VS has a variety of different combobox behaviors. This reference sample in the VS SDK details how you can leverage the behavior of different combo stereotypes. After reading this paper you will get familiar with the following concepts:
What are the stereotypes of comboboxes and how do they work?
How to define combobox items in the command table (.vsct) file?
How to bind combo boxes with related command event handlers?
How to implement combobox command handlers?
To understand the concepts treated here it is assumed that you are familiar with the idea of VSPackages and you know how to build and register very simple (even non-functional) packages. To get more information about packages, please take a look at the Package Reference Sample (VisualBasic Reference.Package sample). It is also assumed that you know the basic concepts of menus and commands. Look at the Menu and Commands Reference Sample (VisualBasic Reference.MenuAndCommands) to get familiar with those concepts.