Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Toolbar items in the Customize sheet



On 3/31/05 1:08 PM, David Catmull didst favor us with:

> On Mar 31, 2005, at 8:51 AM, Laurence Harris wrote:
>> Once the view has been embedded in the window, you can test to see if the
>> window is one you create. In my case I add a window property to all of my
>> windows, so if the owner window doesn't have that property, I know the
>> control is in a customization sheet.
> 
> Or maybe just check if the window is a sheet, since sheets don't have
> toolbars. Thanks, I should have thought of that.

I wonder if there's any prohibition against toolbars in sheets or if it's
just something no one's done yet. Personlly, I prefer my approach since it
doesn't rely on the implementation detail that toolbar customization windows
are sheets. But then, I have a special loathing for assumptions. ;-)

Larry

 _______________________________________________
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

This email sent to email@hidden

References: 
 >Re: Toolbar items in the Customize sheet (From: David Catmull <email@hidden>)



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.