Window2::SetTabPicture Method (Object^)

 

Loads a bitmap into a tabbed picture on a tab-linked tool window.

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

void SetTabPicture(
	Object^ Picture
)

Parameters

Picture
Type: System::Object^

A path to a bitmap.

SetTabPicture now takes a path to a bitmap as a possible value for the Picture argument. When a file path is supplied, the SetTabPicture method loads the bitmap and uses that as the tabbed picture on a tab-linked tool window.

SetTabPicture also takes a handle to a bitmap (HBITMAP) for the value of Picture, allowing you to pass a bitmap that has been loaded from resources.

Return to top
Show: