IVsUIShell5.CreateThemedImageList(IntPtr, UInt32) 方法

定义

创建主题图像列表。 主题图像列表:尝试转换图像,使其面向指定的背景。 调用方负责调用 ImageList_Destroy 以删除图像列表。 注意:

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

参数

hImageList
IntPtr

nativeint

图像列表。

crBackground
UInt32

背景色。

返回

IntPtr

nativeint

指向 HIMAGELIST 但包含 commctrl 的指针可能会产生不支持公共控件的项目的生成问题。

适用于