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