Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.12.0 (in Microsoft.VisualStudio.Shell.Interop.12.0.dll)
Syntax
'Declaration
Function CreateThemedImageList ( _
    hImageList As IntPtr, _
    crBackground As UInteger _
) As IntPtr
IntPtr CreateThemedImageList(
    IntPtr hImageList,
    uint crBackground
)
IntPtr CreateThemedImageList(
    [InAttribute] IntPtr hImageList, 
    [InAttribute] unsigned int crBackground
)
abstract CreateThemedImageList : 
        hImageList:IntPtr * 
        crBackground:uint32 -> IntPtr
function CreateThemedImageList(
    hImageList : IntPtr, 
    crBackground : uint
) : IntPtr
Parameters
- hImageList 
 Type: IntPtr- The image list. 
- crBackground 
 Type: UInt32- The background color. 
Return Value
Type: IntPtr
The HRESULT.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.