Re: Using Win32Lib's geFileInfo to show system icon
- Posted by Jonas Temple <jtemple at yhti.net> Jan 26, 2006
- 478 views
Greg Haberek wrote: > > Um... why not use a function that returns the handle to an icon, not > its image list index? Have you looked at ExtractAssociatedIcon? > There's a Win32Lib demo called icon00.exw. Here's a wrapper for the > function. > Greg, Good idea and I did look at that function but the problem is the file doesn't actually exist on the PC, I just want to show the default icon in case the user opens the file to the PC. Unless I don't understand how ExtractIcon works. Jonas Temple http://www.yhti.net/~jktemple