Two questions
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