FROM : Rakka
DATE : Fri Apr 22 06:54:55 2005
Hi,
Is there simple way to get a folder's icon, like iconForFile: does for
files? I tried iconForFile with a folder (or actually, a volume), and
it just doesn't work. Or am I doing something wrong? The following
doesn't work for folders and volumes, but only works with files (e.g
pdf, jpg, etc.)
NSImage *volumeIcon = [[NSWorkspace sharedWorkspace]
iconForFile:@"/Volumes/TheDisk"];
Thanks.
Regards,
Rakka
DATE : Fri Apr 22 06:54:55 2005
Hi,
Is there simple way to get a folder's icon, like iconForFile: does for
files? I tried iconForFile with a folder (or actually, a volume), and
it just doesn't work. Or am I doing something wrong? The following
doesn't work for folders and volumes, but only works with files (e.g
pdf, jpg, etc.)
NSImage *volumeIcon = [[NSWorkspace sharedWorkspace]
iconForFile:@"/Volumes/TheDisk"];
Thanks.
Regards,
Rakka
| Related mails | Author | Date |
|---|---|---|
| Rakka | Apr 19, 10:07 | |
| Rakka | Apr 22, 06:54 |






Cocoa mail archive

