Re: Another Icon Question

2010-08-24 Thread Mark Ritchie
On 24/Aug/2010, at 10:04 AM, Jean-Daniel Dupas wrote: > Don't include it directly. This is a subumbrella framework and should always > be referenced though its parent framework. Instead use: > #import Ah, good point. ;-) Thanks! M. ___ Cocoa-dev mai

Re: Another Icon Question

2010-08-24 Thread Jean-Daniel Dupas
Le 24 août 2010 à 17:57, Mark Ritchie a écrit : > Hey! > > On 24/Aug/2010, at 7:43 AM, k...@highrolls.net wrote: >> I added CoreServices.framework to my project since it contains >> LaunchServices.framework. > When I tried this, I had to explicitly include LaunchServices.framework > >> The ref

Re: Another Icon Question

2010-08-24 Thread Mark Ritchie
Hey! On 24/Aug/2010, at 7:43 AM, k...@highrolls.net wrote: > I added CoreServices.framework to my project since it contains > LaunchServices.framework. When I tried this, I had to explicitly include LaunchServices.framework > The referenced header is in LaunchServices.framework, but still not fo

Re: Another Icon Question

2010-08-24 Thread koko
I added CoreServices.framework to my project since it contains LaunchServices.framework. The referenced header is in LaunchServices.framework, but still not found. What do I need to do for the project to see this header? -koko On Aug 23, 2010, at 9:47 PM, Ken Thomases wrote: On Aug 23

Re: Another Icon Question

2010-08-23 Thread Ken Thomases
On Aug 23, 2010, at 9:59 PM, k...@highrolls.net wrote: > cmd-double click does nothing for me and I also get : error: > 'kToolbarDesktopFolderIcon' was not declared in this scope > > What am I dong wrong? What SDK are you building against? The toolbar icons were added in 10.6, apparently. Al

Re: Another Icon Question

2010-08-23 Thread koko
OK. cmd-double click does nothing for me and I also get : error: 'kToolbarDesktopFolderIcon' was not declared in this scope What am I dong wrong? -koko On Aug 23, 2010, at 6:20 PM, Dave DeLong wrote: Yep! If you cmd-double click in the constant, you'll be taken to a file with a whole b

Re: Another Icon Question

2010-08-23 Thread Dave DeLong
Yep! If you cmd-double click in the constant, you'll be taken to a file with a whole bunch of similar icon constants. They're grouped by category. Dave Sent from my iPhone On Aug 23, 2010, at 6:02 PM, k...@highrolls.net wrote: > Thanks. > > I "assume" I can get downloads , music et al the s

Re: Another Icon Question

2010-08-23 Thread koko
Thanks. I "assume" I can get downloads , music et al the same way> Am coding now! -koko kToolBarDownloadsFolderIcon On Aug 23, 2010, at 4:48 PM, davedelong wrote: Assuming that you're talking about the icon that looks like a miniature screenshot of the desktop, that's a Toolbar icon, and y

Re: Another Icon Question

2010-08-23 Thread davedelong
Assuming that you're talking about the icon that looks like a miniature screenshot of the desktop, that's a Toolbar icon, and you can easily retrieve it like this: [[NSWorkspace sharedWorkspace] iconForFileType:NSFileTypeForHFSTypeCode(kToolbarDesktopFolderIcon)] Enjoy! Dave On Aug 23, 2010