Setting up an ImageList at runtime?
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
I'm working on an activex control that will sit in a webpage. I'm looking to add icons to me TreeView and am having trouble getting an ImageList set up. So far I've done this: CoCreateInstance(CLSID_ImageList, NULL,CLSCTX_INPROC_SERVER,IID_IImageList,(void** &m_ImageList); CoCreateInstance(CLSID_ListImages, NULL,CLSCTX_INPROC_SERVER,IID_IImages,(void**)&m_Images); Since I see that an ImageList needs the Image collection put into it, but then the Image Collection needs Images put into it and I have no idea how to set that up. Anyone have any tips or links? -Jack Mott jackm@scalablesoftware.com