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