Re: Getting the icon of an opened folder
Re: Getting the icon of an opened folder
- Subject: Re: Getting the icon of an opened folder
- From: Todd Yandell <email@hidden>
- Date: Mon, 8 Aug 2005 20:23:30 -0500
Is it possible to get the NSImage object of an opened folder
representation? I mean the icon
that is displayed when items are dragged onto a folder with
standard icon in Finder.
You can load the image from "/System/Library/CoreServices/
CoreTypes.bundle/Contents/Resources/OpenFolderIcon.icns". Just
"initWithContentsOfFile:" on an NSImage and give it that path. If you
need the closed version, it's in the same folder and named
"GenericFolderIcon.icns".
Todd
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden