10-01-2009, 08:15 PM
You can add icon handles to an imagelist and pass it to SetThreadMenuIcons.
Macro Macro1275
Macro Macro1275
__ImageList- il
;il.Load("bmp file created with qm imagelist editor")
;or
il=ImageList_Create(16 16 ILC_MASK|ILC_COLOR32 0 8)
int hi
hi=GetWindowIcon(win("Quick"))
ImageList_ReplaceIcon(il -1 hi)
DestroyIcon(hi)
hi=GetWindowIcon(win("Firefox"))
ImageList_ReplaceIcon(il -1 hi)
DestroyIcon(hi)
SetThreadMenuIcons "100=0 101=0 102=1" +il 2
ShowMenu("100 a[]>101 b[]102 c[]<")