Re: Displaying Cocoa NIBs from Carbon?
Re: Displaying Cocoa NIBs from Carbon?
- Subject: Re: Displaying Cocoa NIBs from Carbon?
- From: Scott Andrew <email@hidden>
- Date: Wed, 21 Mar 2007 18:29:45 -0700
Look at the call NSApplicationLoad. This call is required to use
cocoa from a carbon app. There are a great number of articles on
Apple's developer site. Click the following link to see the Apple
articles: http://developer.apple.com/cgi-bin/search.pl?
q=NSApplicationLoad&num=10&site=default_collection
Scott Andrew
On Mar 21, 2007, at 8:44 AM, Eric Schlegel wrote:
On Mar 21, 2007, at 8:38 AM, Patrick M wrote:
I get an error on the CreateWindowFromNib call, it returns -10,
and I have only seen ONE reference to this error for this function
in all my searches, what does this error mean and can I even get a
full featured Cocoa NIB to be displayed using Carbon APIs in
manner attempted below?
You'll need to use the Cocoa functions for creating your window
from a nib. The Carbon nib functions do not work with Cocoa nibs.
-eric
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
40adelphia.net
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden