Page 1 of 1

ImageList and ImageGadget

Posted: Wed Aug 31, 2005 9:59 am
by eriansa
What is the benefit of using an ImageList when one has to use ImageList_GetIcon (+DestroyIcon) in order to get the imageid?

Isn't there a possibility to get the ImageID directly from the ImageList?
(one can use ImageList_GetImageInfo, but this gives the BitMap handle of the complete image)

There must be a way, otherwise ImageList WITH ImageGadget doesn't have much use...

(I am trying to decrease the number of GDI's my program is using)

Help much appreciated!