Getting a files icon...

Richard Gaskin ambassador at fourthworld.com
Sat Feb 1 22:06:01 EST 2003


Ken Ray wrote:

> A file's icon is in the resource fork of the file (Mac OS 9), a separate
> .icns resource file (Mac OS X) or in the compiled application resources
> (Windows), and so it's not really a part of what the file system stores
> about a file. The OS provides the icon based on its file association (stored
> in the desktop database in Mac and in the Registry in Windows). Either way,
> it will require moving resources around to get at the icon.

I wonder if one could use getResource() to obtain the raw data and parse out
the image and stuff that into imagedata.....
-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge 2.2: Publish any database on any site
 ___________________________________________________________
 Ambassador at FourthWorld.com       http://www.FourthWorld.com
 Tel: 323-225-3717                       AIM: FourthWorldInc




More information about the metacard mailing list