IVsUIShell5.CreateThemedImageList(IntPtr, UInt32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建主题图像列表。 主题图像列表:尝试转换图像,使其面向指定的背景。 调用方负责调用 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 的指针可能会产生不支持公共控件的项目的生成问题。