TBXITEMINFO Structure

 

Specifies information on toolbox items. Used on IVsToolbox::AddItem and IVsToolboxDataProvider::GetItemInfo.

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

[ComConversionLossAttribute]
public struct TBXITEMINFO

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from ValueType.)

System_CAPS_pubmethodGetHashCode()

(Inherited from ValueType.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from ValueType.)

NameDescription
System_CAPS_pubfieldbstrText

BSTR containing the tool tips/label text of toolbox item.

System_CAPS_pubfieldclrTransparent

COLORREF item specifying the transparent color in bitmap.

System_CAPS_pubfielddwFlags

DWORD specifying the item info flags. Values are taken from the __TBXITEMINFOFLAGS enumeration.

System_CAPS_pubfieldhBmp

Specifies a 16x16 bitmap for the toolbox.

System_CAPS_pubfieldiImageIndex

INT specifying the image index of the item.

System_CAPS_pubfieldiImageWidth

Specifies the width of the item image.

System_CAPS_noteNote

hBmp is placed in an ImageList, so the caller can destroy on return or have toolbox delete it via TBXIF_DELETEBITMAP

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: