|
-
Jan 11th, 2005, 10:39 PM
#1
Thread Starter
Frenzied Member
Dynamic ListViewItem image at runtime
It's easy enough to set the ListViewItem's icon when you already have an ImageList defined. What should you do when you need to read the icon file name from a DB at runtime?
DB stuff is no problem. But it seems I would have to populate an ImageList at runtime to load up the icon from disk. The app needs to refresh often, and also notice new entries. My problem is that there seems to be no way to refer to an entry in the ImageList besides it's index. How can I tell if I should load up an image, or just re-use one that's already there?
Thanks,
Mike
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|