Re: Having Image PICT NIB problem ?
Re: Having Image PICT NIB problem ?
- Subject: Re: Having Image PICT NIB problem ?
- From: "Denis @ TheOffice" <email@hidden>
- Date: Mon, 17 Oct 2005 17:49:53 -0400
Thanks,
At least I am having some answer I could build some solution on.
I guess it is ok to have some dialogs in nib and some in RSRC files.
One more thing I need to know is; Can we localize RSRC's ?
> No. If you look in the headers, you will see that GetPicture is deprecated.
What should I use instead?
Denis
----- Original Message -----
From: "Sean McBride" <email@hidden>
To: "Denis @ TheOffice" <email@hidden>; <email@hidden>
Sent: Monday, October 17, 2005 2:19 PM
Subject: Re: Having Image PICT NIB problem ?
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.
I think it was XCode pre- 1.0 I don't have it here at work.
>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