Re: Two questions
Re: Two questions
- Subject: Re: Two questions
- From: Pelle Johansson <email@hidden>
- Date: Sun, 27 May 2001 20:12:11 +0200
On svndag, maj 27, 2001, at 07:49 , Bill Cheeseman wrote:
on 5/27/01 9:31 AM, Mal Paine at email@hidden wrote:
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?
All cocoa apps behave like this.
And it's how ALL apps are supposed to behave under the Aqua Human
Interface
guidelines....
Is that still true? I hope so, because I think it is much more useful
than
the old Mac model. But Mac OS X 10.0 seems to have abandoned it for most
apps, even the Finder.
This have been discussed quite a lot on the apple-hi-developers list.
The guidelines state IIRC that click-through should be enabled as long
as the action made by the click is non-destructive. People pointed out
that this was where inconsistent and how do you judge whether an action
is destructive or not? Plus it's not currently working this way in many
Apple apps (you can for example click directly on the delete button in
an inactive window in Mail).
The reason Finder doesn't have click-through is because it's a Carbon
app however.
Personally I don't find click-through very useful. There's a number of
situations where it doesn't work well (see the apple-hi-developers
archives for more info). Better to use an extra click to save you from
those.
Btw, anyone tried command-clicking in an inactive _cocoa_ window?
--
Pelle Johansson
<email@hidden>