• 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
Two questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Two questions


  • Subject: Two questions
  • From: Joe Muscara <email@hidden>
  • Date: Sun, 27 May 2001 06:31:33 -0500

Hi,

For the Cocoa apps that I've written, I noticed that when clicking on the window when it's in the background, if I click on a control, not only is the window brought to the front, but the control is activated. Most other apps don't do this, so I'm sure there is a way to turn this off, but I've not come across this in any documentation that I've read. Can anyone tell me how to do this?

For one app that I am working on, I have to use a Carbon call that doesn't exist in Cocoa. Is there something that will convert a file path NSString like I get from an NSOpenPanel to an FSRef? If there is such a thing, could you also tell me what header the call is in?

Thanks!
Joe


  • Follow-Ups:
    • Re: Two questions
      • From: David Adalsteinsson <email@hidden>
    • Re: Two questions
      • From: Finlay Dobbie <email@hidden>
  • Prev by Date: Re: NetInfo Tutorial / Cocoa / Java
  • Next by Date: Re: Two questions
  • Previous by thread: Re: NetInfo Tutorial / Cocoa / Java
  • Next by thread: Re: Two questions
  • Index(es):
    • Date
    • Thread