Window::SetTabPicture Method (Object^)
Visual Studio 2015
Sets the picture to display in a tool window.
Assembly: EnvDTE (in EnvDTE.dll)
Parameters
- Picture
-
Type:
System::Object^
The picture to place into the tool window.
SetTabPicture adds an icon to the tab of an automation-created tool window so that when it is tab-linked, the tab displays an icon like other tool windows. The variant holds an IPictureDisp. The Picture must be either an icon (.ico) or bitmap (.bmp), and its dimensions must be 16x16 pixels.
The transparent color is 0x0000ff00 (pure green), so the background color can show through.
SetTabPicture requires a tool window.
Show: