Window::SetTabPicture Method (Object^)

 

Sets the picture to display in a tool window.

Namespace:   EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

void SetTabPicture(
	Object^ Picture
)

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.

Return to top
Show: