IVsDropdownBarClient Interface

 

Describes the contents of the drop-down bar combinations.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

[InterfaceTypeAttribute(1)]
[GuidAttribute("AEE77BDD-05C8-4DE1-B48E-1B003F49ACB7")]
public interface IVsDropdownBarClient

NameDescription
System_CAPS_pubmethodGetComboAttributes(Int32, UInt32, UInt32, IntPtr)

Returns information about a drop-down bar/Window combination.

System_CAPS_pubmethodGetComboTipText(Int32, String)

Returns the tooltip for an entire drop-down bar combination.

System_CAPS_pubmethodGetEntryAttributes(Int32, Int32, UInt32)

Returns text appearance attributes for a drop-down combination entry.

System_CAPS_pubmethodGetEntryImage(Int32, Int32, Int32)

Returns the glyph associated with a combo entry.

System_CAPS_pubmethodGetEntryText(Int32, Int32, String)

Returns the text for a combo entry.

System_CAPS_pubmethodOnComboGetFocus(Int32)

Fires when the combo gets focus.

System_CAPS_pubmethodOnItemChosen(Int32, Int32)

Fires when a combo item is chosen.

System_CAPS_pubmethodOnItemSelected(Int32, Int32)

Fires when a combo item is selected.

System_CAPS_pubmethodSetDropdownBar(IVsDropdownBar)

Called by the drop-down bar to hook itself up to the client.

Each combination described by IVsDropDownBarClient can contain plain text or fancy text, that is bold, underlined, or italic, can have window text font coloring or grayed out font coloring, and optionally show a small bitmap next to the item. Image drawing is negotiated using image lists, just as with the IVsCompletionSet interface. Each drop-down combination can have a different image list, with the caveat that the image lists should have images of the same height. You can have an arbitrary number of combinations, and the drop-down code makes no assumptions about their semantics.

Notes to Implementers:

Implement the IVsDropdownBarClient interface to describe the contents of the drop-down bar combinations.

Return to top
Show: