IVsUIShell6::CreateThemedImageList Method (IntPtr, UInt32)

 

Creates a themed image list. Themed image lists attempt to transform the images to target a given background. The caller is responsible for calling ImageList_Destroy to delete the imagelist. HANDLE represents an HIMAGELIST, but including commctrl.h can produce build issues for projects that would not otherwise support common controls.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.12.0 (in Microsoft.VisualStudio.Shell.Interop.12.0.dll)

IntPtr CreateThemedImageList(
	IntPtr hImageList,
	unsigned int crBackground
)

Parameters

hImageList
Type: System::IntPtr

The image list.

crBackground
Type: System::UInt32

The background color.

Return Value

Type: System::IntPtr

The HRESULT.

Return to top
Show: