• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Tips on using Nibs in Carbon
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tips on using Nibs in Carbon


  • Subject: Re: Tips on using Nibs in Carbon
  • From: Eric Albert <email@hidden>
  • Date: Mon, 10 Nov 2003 01:04:24 -0800

At 11:59 PM -0500 11/8/03, Brian Barnes wrote:
I've started trying to move my carbon apps over to nibs, but have run into some problems. It might be because of carbon, and the help docs seem to say as much though I've missed stuff before.

I think you'd get better answers for this on carbon-development, but I might be able to help out a little....


1) I have dialogs with images. If the images are in .rsrc files, then they show up in IB (and the project is running.) I'd like to do away with .rsrc files, though. I've included tiff versions in Xcode, but they don't show up in IB. Am I missing something? (note this answers an old question of mine.)

I don't think the Carbon picture controls handle tiffs. That'd be a nice feature, though; I'd suggest filing a bug report.


2) Custom cursors -- is there a way to add these to nibs? Or a specific cursor file format I can use? I can't seem to find either this information or format ...

I don't think Carbon nibs support them. Just build them into your project's .rsrc file and load them from there.


3) Is there any way to duplicate ModalDialog function with nib based-dialogs? Constructing the event driven version isn't that hard, but I have a lot of dialogs!

Use RunAppModalLoopForWindow and QuitAppModalLoopForWindow.

At this point, as long as I am in carbon, it doesn't look like it's possible to do away with .rsrc completely ... am I wrong here?

I don't think you are. But when you find things that require that you use resources, I'd suggest filing enhancement requests asking for new ways to do those tasks.


-Eric
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Tips on using Nibs in Carbon (From: Brian Barnes <email@hidden>)

  • Prev by Date: Re: Xcode's openness
  • Next by Date: Re: Source Tree Preference
  • Previous by thread: Cross compiling on the command line
  • Next by thread: Distributed Building guidelines/benchmarks?
  • Index(es):
    • Date
    • Thread