Partilhar via


IVsUIShell5.CreateThemedImageList(IntPtr, UInt32) Method

Definition

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 image list. NOTE:

public:
 IntPtr CreateThemedImageList(IntPtr hImageList, System::UInt32 crBackground);
public IntPtr CreateThemedImageList (IntPtr hImageList, uint crBackground);
abstract member CreateThemedImageList : nativeint * uint32 -> nativeint
Public Function CreateThemedImageList (hImageList As IntPtr, crBackground As UInteger) As IntPtr

Parameters

hImageList
IntPtr

nativeint

The image list.

crBackground
UInt32

The background color.

Returns

IntPtr

nativeint

A pointer to an HIMAGELIST, but including commctrl.h can produce build issues for projects that would not otherwise support common controls.

Applies to