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: kHIViewWindowContentID kind not in headers?



On Thu, 19 Jan 2006 10:24:36, Tomas Zahradnicky <email@hidden> wrote:

>> I guess the question is, why do you need to know exactly what
>> four-character constant is contained in kHIViewWindowContentID?
> 
> My app creates some object hierarchy for the entire window and
> there's a function that takes HIViewRef and recursively traverses
> everything that HIViewRef embeds. When it finds a new HIViewRef, it
> looks at its kind and calls appropriate construction function and
> there's one needed for content view as well.

Be prepared to handle a case when control doesn't have a kind.

Mike

 _______________________________________________
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: kHIViewWindowContentID kind not in headers? (From: Tomas Zahradnicky <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.