New to most things graphical . . .
I have a collection of objects which I need to expose their associated icon (there are two friend properties called LargeIcon, and SmallIcon)
The question, then. I want to return the icons in a format that is easy to use for the calling app (this collection of objects is in a DLL)
Should I be using a Byte(), or perhaps IPictureDisp, or even Image? I intend to keep the icons on disk in the original .ico file format. Perhaps it's better to use a resource file?
These icons will be used in context sensitive menus, toolbars - the whole caboodle.
Any advice (and supporting) code will be most gratefully received.
Cheers,
Yr




Reply With Quote