• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: "Open dialogue"-like file system browser
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Open dialogue"-like file system browser


  • Subject: Re: "Open dialogue"-like file system browser
  • From: John Stiles <email@hidden>
  • Date: Thu, 19 Jan 2006 07:40:17 -0800

Did you #include <Carbon/Carbon.h> and add the framework to your project?
That should be all you need to do.


David Zentgraf wrote:
Alright, I'd be glad to use this, looks good. But, *blush*, I can't for the hell of me figure out how to call these functions from within my Cocoa app. I've understood the whole Cocoa concept pretty quick with the official Cocoa Tutorial, but I seem to be missing something like that for Carbon.

Any concrete help, please?

Thanks, Chrs,
Dav

On 2006/01/18, at 20:09, glenn andreas wrote:


On Jan 18, 2006, at 11:54 AM, David Zentgraf wrote:

Okay, I found what I need, but I have no idea how to use it. I'm finding my way around Cocoa by now, but Carbon is a closed book to me. The Carbon Finder Reference states these constants can be used:



kIsInvisible = 0x4000,

If you're requiring 10.4, you'll be much better off using LaunchServices. Namely LSCopyItemAttribute with the attribute kLSItemIsInvisible, which will determine if the file item should be visible. It will handle all the various ways that a file can be "not shown". Otherwise you're going to have figure out all the various ways that items are not shown (invisible bit set, begins with period, is included in the list of ".hidden" directories, etc...)





Glenn Andreas email@hidden <http://www.gandreas.com/> wicked fun! quadrium | build, mutate, evolve | images, textures, backgrounds, art


_______________________________________________ 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
_______________________________________________
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


  • Follow-Ups:
    • Re: "Open dialogue"-like file system browser
      • From: David Zentgraf <email@hidden>
References: 
 >"Open dialogue"-like file system browser (From: David Zentgraf <email@hidden>)
 >Re: "Open dialogue"-like file system browser (From: David Zentgraf <email@hidden>)
 >Re: "Open dialogue"-like file system browser (From: Uli Kusterer <email@hidden>)
 >Re: "Open dialogue"-like file system browser (From: David Zentgraf <email@hidden>)
 >Re: "Open dialogue"-like file system browser (From: glenn andreas <email@hidden>)
 >Re: "Open dialogue"-like file system browser (From: David Zentgraf <email@hidden>)

  • Prev by Date: Re: how to generate a map from gis data
  • Next by Date: Returning an executable in a framework
  • Previous by thread: Re: "Open dialogue"-like file system browser
  • Next by thread: Re: "Open dialogue"-like file system browser
  • Index(es):
    • Date
    • Thread