Icon in a listview

  • Thread starter Thread starter Marco Spiga
  • Start date Start date
M

Marco Spiga

Hi to all,

I've a problem with a list of files; I have the following structure:
name
size
isDirectory true/false

I would put this information in a listview, linking the extension in the
name of the file with a icon of the system. Can the framework help me?

thanks

Marco
 
no the framework cannot help you directly here. you will need to manually
add a bitmap to a control, and then add this control to the listview item.
if this is a windows form application, it should be pretty straightforward,
for a webform, i'm not totally sure it is supported directly. in fact i
think it isn't. It's doable if you host the windows control in the web
browser, but that's a lot of pain for little gain.
 
Back
Top