ImageList and ImageGadget

Windows specific forum
eriansa
Enthusiast
Enthusiast
Posts: 277
Joined: Wed Mar 17, 2004 12:31 am
Contact:

ImageList and ImageGadget

Post 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!