Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File Icons

Status
Not open for further replies.

LoneRanger123

Programmer
Dec 19, 2000
62
0
0
GB
I want to create an explorer type window, using TListView (thats the right control as far as I know). How can I get the default icons for each file and display them? is there any list, eg the registry, im not sure about this, any pointers / help appreciated :). Thats all I have to go on, I know its not much, I think if I could find out a path to the icon for a file I could do it from there :)
 
All you need is stored in registry
"HKEY_LOCAL_MACHINE/Software/CLASSES"
read "DefaultIcon" key
 
How do I search the registry? is there a component, or do I have to open it as a file and search?
 
Look at faq101-72 and faq101-463. James P. Cottingham

I am the Unknown lead by the Unknowing.
I have done so much with so little
for so long that I am now qualified
to do anything with nothing.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top