Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Public Structure TBXITEMINFO
public struct TBXITEMINFO
public value class TBXITEMINFO
[<Sealed>]
type TBXITEMINFO = struct end
JScript supports the use of structures, but not the declaration of new ones.
The TBXITEMINFO type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Top
Fields
Name | Description | |
---|---|---|
![]() |
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. |
Top
Remarks
Note
hBmp is placed in an ImageList, so the caller can destroy on return or have toolbox delete it via TBXIF_DELETEBITMAP
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.