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: HIView embedder



On 11/30/04 5:32 PM, Jan E. Schotsman didst favor us with:

> 
> On 30-nov-04, at 23:23, R. Scott Thompson wrote:
> 
>> You probably don't want to embed your user pane in the root control
>> returned by HIViewGetRoot.  What you probably want to do is:
>> 
>> HIViewRef root = NULL;
>> 
>> verify_noerr(HIViewFindByID(HIVIewGetRoot(window),
>> kHIViewWindowContentID, &root))
>> 
> 
> So these (the window root and the content view) can be different?
> 
It's just confusing terminology. In the HIView world, the window's root view
is the topmost view which contains everything, including the content view.
The content view is the root control returned by GetRootControl().

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: HIView embedder (From: "Jan E. Schotsman" <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.