Hello everyone
we use a listview box and we add some path's of the files in list
and now we want to show the file icon with in file path
example:
listview1.item.add " D:\test.txt"
listview1.item.add " D:\picture.jpg"
now we want to show these files icon in my listview
please tell me what i do ?
thanks
razamughal67
0
Light Poster
Recommended Answers
Jump to PostAdd icon to imagelist.
use icon picture (.ico) and change the "view" to "0-lvwIcon" on listview properties
assign icon image from imagelist to listview.
Jump to Postyou mean every added any path then there are icon set in left side of that items?
All 7 Replies
Jx_Man
987
Nearly a Senior Poster
Featured Poster
razamughal67
0
Light Poster
Jx_Man
987
Nearly a Senior Poster
Featured Poster
razamughal67
0
Light Poster
Jx_Man
987
Nearly a Senior Poster
Featured Poster
razamughal67
0
Light Poster
Jx_Man
987
Nearly a Senior Poster
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.