ListBox...image dynamically

  • Thread starter Thread starter JJ
  • Start date Start date
J

JJ

I am populating a listbox with Items dynamically during run time. That is
fine!!!. How can I add an image to (just one standard) to each item in the
list box dynamically.

Thnaks
JJ
 
Hi JJ,

I believe you need to ownerdraw the ListBox and draw the image manually in the DrawItem event.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top