xBitmap As Long ' x offest from the upperleft of bitmap
yBitmap As Long ' y offset from the upperleft of bitmap
rgbBk As Long 'COLORREF rgbBk;
rgbFg As Long 'COLORREF rgbFg;
fStyle As Long
dwRop As Long
'} IMAGELISTDRAWPARAMS, FAR * LPIMAGELISTDRAWPARAMS;
'#End If ' _WIN32_IE >= = &h0300
End Type
Public Const ILC_MASK = &H1
Public Const ILC_COLOR = &H0
Public Const ILC_COLORDDB = &HFE
Public Const ILC_COLOR4 = &H4
Public Const ILC_COLOR8 = &H8
Public Const ILC_COLOR16 = &H10
Public Const ILC_COLOR24 = &H18
Public Const ILC_COLOR32 = &H20
Public Const ILC_PALETTE = &H800 ' (not implemented)
'All Byval
Public Declare Function ImageList_Create Lib "COMCTL32.DLL" (ByVal cx As Long, ByVal cy As Long, ByVal flags As Long, ByVal cInitial As Long, ByVal cGrow As Long) As Long
Public Declare Function ImageList_Destroy Lib "COMCTL32.DLL" (ByVal hIml As Long) As Boolean
Public Declare Function ImageList_GetImageCount Lib "COMCTL32.DLL" (ByVal hIml As Long) As Long
Public Declare Function ImageList_SetImageCount Lib "COMCTL32.DLL" (ByVal hIml As Long, uNewCount As Long) As Boolean
Public Declare Function ImageList_Add Lib "COMCTL32.DLL" (ByVal hIml As Long, ByVal hbmImage As Long, ByVal hbmMask As Long) As Long
Public Declare Function ImageList_ReplaceIcon Lib "COMCTL32.DLL" (ByVal hIml As Long, ByVal i As Long, ByVal hIcon As Long) As Long
Public Declare Function ImageList_SetBkColor Lib "COMCTL32.DLL" (ByVal hIml As Long, ByVal clrBk As Long) As Long
Public Declare Function ImageList_GetBkColor Lib "COMCTL32.DLL" (ByVal hIml As Long) As Long
Public Declare Function ImageList_SetOverlayImage Lib "COMCTL32.DLL" (ByVal hIml As Long, ByVal iImage As Long, ByVal iOverlay As Long) As Boolean
Public Declare Function ImageList_AddIcon Lib "COMCTL32.DLL" Alias "ImageList_ReplaceIcon" (ByVal hIml As Long, Optional ByVal i As Long = -1, Optional ByVal hIcon As Long) As Long
'Public Declare Function ImageList_ReplaceIcon Lib "COMCTL32.DLL" (himl As Long, Optional i As Long = -1, Optional hIcon As Long) As Long
Public Const ILD_NORMAL = &H0
Public Const ILD_TRANSPARENT = &H1
Public Const ILD_MASK = &H10
Public Const ILD_IMAGE = &H20
'#if (_WIN32_IE >= = &h0300)
'Public Const ILD_ROP = &H40
'#End If
Public Const ILD_BLEND25 = &H2
Public Const ILD_BLEND50 = &H4
Public Const ILD_OVERLAYMASK = &HF00
'Public Const INDEXTOOVERLAYMASK(i) ((i) << 8)
Public Const ILD_SELECTED = ILD_BLEND50
Public Const ILD_FOCUS = ILD_BLEND25
Public Const ILD_BLEND = ILD_BLEND50
Public Const CLR_HILIGHT = CLR_DEFAULT
Public Declare Function ImageList_Draw Lib "COMCTL32.DLL" (ByVal hIml As Long, ByVal i As Long, ByVal hdcDst As Long, ByVal x As Long, ByVal cy As Long