WinAPI HIMAGELIST to BMX IconStrip

BlitzMax Forums/BlitzMax GUI Programming/WinAPI HIMAGELIST to BMX IconStrip

Hi Guys

Any ideas if its possable to convert a winapi HIMAGELIST to a blitzmax gui IconStrip? I require default shell imagelist for a file explorer and have access to those used by windows as default.

thanks
kev

Sorted this myself.

Seems that if i create a 1x1 .bmp image then incbin it then call LoadIconStrip() then make a call to SetGadgetIconStrip() then use the following code below it replaces the original iconstrip with the new one.

Const CBEM_SETIMAGELIST = (WM_USER + 2)
SendMessageA(QueryGadget(combobox_local_drives,QUERY_HWND),CBEM_SETIMAGELIST,0,iconlist)


by the way this is only tested on combobox's

/me happy