WinAPI HIMAGELIST to BMX IconStrip

BlitzMax Forums/MaxGUI Module/WinAPI HIMAGELIST to BMX IconStrip

Kev(Posted 2006) [#1]
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


Kev(Posted 2006) [#2]
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