Mailing Lists: Apple Mailing Lists

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

[off] working with a CFTree's context



Hello all,

Sorry for this off topic post. It's really more of a Carbon question. (I just happen to be working on a Cocoa application.) I tried asking on the student-dev list, but got no replies there.

My problem is this: If I try to set the context information of pre-existing CFTree, it just doesn't seem to work. At first I was just modifying the instance of CFTreeContext that I received from CFTreeGetContext, but when it didn't work properly I noticed the function CFTreeSetContext. However, even if I use this function, it seems that any subsequent called to CFTreeGetContext still return the context that the tree was originally created with.

I didn't notice CFTreeSetContext mentioned in the docs... but there were a lot of CFTree functions not mentioned in the docs (that I found). I'm going by the name here... is there something I'm missing?

Thanks a lot,
-David Newberry
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.



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.