Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. COM
  4. Setting up an ImageList at runtime?

Setting up an ImageList at runtime?

Scheduled Pinned Locked Moved COM
comtutorialquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jack Mott
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups