Re: "Open dialogue"-like file system browser
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