Hello, Dave,

There might be a better way but I've been using:

NSImage *icon = [[NSWorkspace sharedWorkspace] iconForFile:@"/"];

You will need to know the UNIX path of the disk first.

Regards, Rob.

On 27 Mar 2009, at 10:58, Dave wrote:

Hi All,

Where can I get the Icon for the standard Internal Hard Disk Icon? I've looked in /System/Library/CoreServices/CoreTypes.bundle/ Contents/Resources and found a lot of icon's there, but not one for the hard disk. I just want the Icon the Finder displays for the internal hard drive.

All the Best
Dave


_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/rob2%40atvetsystems.com

This email sent to [email protected]


_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to