IVsUIShell5.CreateThemedImageList(IntPtr, UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.