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: Data browser not drawing in compositing window




On Nov 3, 2007, at 9:42 AM, João Varela wrote:

Hi Larry, Kevin, Eric and all others who replied to my plea

I just found out what the problem was. The problem was that I adopted Apple's HIFramework as a starting point and I derived my db class from TView. I forgot that TView installs a draw handler by default and this handler does nothing unless you override it. All I had to do is to remove the installation of this handler and everything was drawn as expected. That's what you get when you are unfamiliar with the default behavior of a given framework. That's why I'm not jumping into the Cocoa bandwagon just yet. I want to port everything to Carbon Mach-O first and then move to Cocoa incrementally if need be.

I'm a Carbon guy, but I wouldn't advise this. There can be considerable work to port to Carbon, and little, if any, of it will be useful when you move to Cocoa. You'll just be doing a lot of extra work for no long term benefit. If I didn't have a Carbon application I'd look seriously into learning Cocoa and just porting directly to Cocoa.


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: 
 >Data browser not drawing in compositing window (From: João Varela <email@hidden>)
 >Re: Data browser not drawing in compositing window (From: Laurence Harris <email@hidden>)
 >Re: Data browser not drawing in compositing window (From: João Varela <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.