| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Matt
On 28 May 2008, at 11:15, Olivier Tristan wrote:
static bool isHiddenFile (const String& path) { FSRef ref; OSStatus err = FSPathMakeRefWithOptions((const UInt8*) path.toUTF8(), kFSPathMakeRefDoNotFollowLeafSymlink, &ref, 0); if (err == noErr) { LSItemInfoRecord info; err = LSCopyItemInfoForRef(&ref, kLSRequestBasicFlagsOnly, &info); if (err == noErr) { return ((info.flags & kLSItemInfoIsInvisible) != 0); } } return false; }
Still the dev and net(i'm on leopard) folder are showing up. Any idea what could be missing ?
Thanks,
_______________________________________________ Do not post admin requests to the list. They will be ignored. Carbon-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/carbon-dev/email@hidden
| References: | |
| >Invisible dir in Finder but not kIsInvisible (From: Olivier Tristan <email@hidden>) | |
| >Re: Invisible dir in Finder but not kIsInvisible (From: Jesper Papmehl-Dufay <email@hidden>) | |
| >Re: Invisible dir in Finder but not kIsInvisible (From: "Olivier Tristan" <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.