Re: Having Image PICT NIB problem ?
Re: Having Image PICT NIB problem ?
- Subject: Re: Having Image PICT NIB problem ?
- From: "Sean McBride" <email@hidden>
- Date: Mon, 17 Oct 2005 14:19:16 -0400
- Organization: Rogue Research
On 2005-10-17 10:20, Denis @ TheOffice said:
>I am pretty much new in the Mac programming. There are still much
>concept I do not grasp jut yet.
Hi Denis!
>One of them is the Nib vs. RSRC thing. I choose the Nib because I liked
>the editor and it seems the
>way to go in the future.
nibs are the present, not the future. :) Resource Manager (rsrc) files
are the past, but also the present. :)
>I want to place icons and image in my dialogs.
>
>I don't see how to do that with Nib.
>
>I bought the book learning Carbon tried the suggested way which was to
>place the image (rsrc) in the
>project.
>It didn't work. Is there another way?
>Besides what about icons?
I've never used nibs in Carbon, only Cocoa, and they are not the same,
so I don't have an answer.
What year is your book from? I suspect it is old.
>Another question that popped in my mind.
>Does functions like "GetPicture (cPictureResID);" works with Nib?
No. If you look in the headers, you will see that GetPicture is deprecated.
>Can I have Nibs and RSRC together in the same project?
Yes.
>Would ID conflict ?
No.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden