Re: acceptsFirstMouse with NSTableView
Re: acceptsFirstMouse with NSTableView
- Subject: Re: acceptsFirstMouse with NSTableView
- From: Corbin Dunn <email@hidden>
- Date: Tue, 02 Sep 2008 08:46:16 -0700
On Sep 2, 2008, at 2:20 AM, Bill Cheeseman wrote:
on 2008-09-01 11:41 PM, Ron Wagner at email@hidden
wrote:
I am trying to get an NSTableView to change it's selection when
clicking on one if it's cells when it's window is not active. I have
subclassed NSTableView, overridden acceptsFirstMouse: and return YES
unconditionally, and verified that it is getting called. Can't seem
to
get it to change behavior. Still takes once click to activate the
window and a second click to select the clicked on cell. What is the
trick to getting this to work?
In general, holding the Command key down while clicking user
controls in a
background application appears to be the standard Mac OS X
convention for
keeping the application in the background. But it doesn't work in
table
views without a little help.
Quick side note: this does work correctly in Leopard..
-corbin
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden