Re: Using Win32Lib's geFileInfo to show system icon

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu