Compartir a través de


TBXITEMINFO Struct

Definition

Specifies information on toolbox items. Used on IVsToolbox::AddItem(IDataObject, TBXITEMINFO[], String) and IVsToolboxDataProvider::GetItemInfo(IDataObject, TBXITEMINFO[]).

public value class TBXITEMINFO
struct TBXITEMINFO
[System.Runtime.InteropServices.ComConversionLoss]
public struct TBXITEMINFO
[<System.Runtime.InteropServices.ComConversionLoss>]
type TBXITEMINFO = struct
Public Structure TBXITEMINFO
Inheritance
TBXITEMINFO
Attributes

Remarks

Note

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

Fields

bstrText

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

clrTransparent

COLORREF item specifying the transparent color in bitmap.

dwFlags

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

hBmp

Specifies a 16x16 bitmap for the toolbox.

iImageIndex

INT specifying the image index of the item.

iImageWidth

Specifies the width of the item image.

Applies to