共用方式為


IVsUIShell6.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 imagelist. HANDLE represents an HIMAGELIST, but including commctrl.h can produce build issues for projects that would not otherwise support common controls.

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

The HRESULT.

Implements

Applies to