Partilhar via


IVsDropdownBarClient Interface

Definition

Describes the contents of the drop-down bar combinations.

public interface class IVsDropdownBarClient
public interface class IVsDropdownBarClient
__interface IVsDropdownBarClient
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("AEE77BDD-05C8-4DE1-B48E-1B003F49ACB7")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsDropdownBarClient
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("AEE77BDD-05C8-4DE1-B48E-1B003F49ACB7")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsDropdownBarClient
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("AEE77BDD-05C8-4DE1-B48E-1B003F49ACB7")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsDropdownBarClient = interface
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("AEE77BDD-05C8-4DE1-B48E-1B003F49ACB7")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsDropdownBarClient = interface
Public Interface IVsDropdownBarClient
Derived
Attributes

Remarks

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.

Methods

GetComboAttributes(Int32, UInt32, UInt32, IntPtr)

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

GetComboTipText(Int32, String)

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

GetEntryAttributes(Int32, Int32, UInt32)

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

GetEntryImage(Int32, Int32, Int32)

Returns the glyph associated with a combo entry.

GetEntryText(Int32, Int32, String)

Returns the text for a combo entry.

OnComboGetFocus(Int32)

Fires when the combo gets focus.

OnItemChosen(Int32, Int32)

Fires when a combo item is chosen.

OnItemSelected(Int32, Int32)

Fires when a combo item is selected.

SetDropdownBar(IVsDropdownBar)

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

Applies to