I was using a FileListBox to display a list of files from a specific directory but I'd like to display them with the corrsponding icon beside the name, just like in windows explorer. Is there a specific control to do that or some trick?
Printable View
I was using a FileListBox to display a list of files from a specific directory but I'd like to display them with the corrsponding icon beside the name, just like in windows explorer. Is there a specific control to do that or some trick?
I'm not sure whether this does quite what you are asking for:
Er, to be clear that shows how to extract and display associated icons.
Perhaps what you want instead is an Explorer ListView? Or if you do not want it to be "active" then use a ListView as shown above, but populate it using Dir$() loops.
Yes, I think that's what I want. I just didn't think about using a Listview or a Treeview. This icon extract method deserves some careful look into your code, I'll take my time.
Thanks.