Re: Getting select click
Re: Getting select click
- Subject: Re: Getting select click
- From: Ryan Dingman <email@hidden>
- Date: Tue, 12 Jun 2001 19:13:48 -0700
Yes, in your view you can override
- (BOOL)acceptsFirstMouse:(NSEvent *)theEvent;
This method controls whether the initial mouse event simply activates
the window(return NO) or if it the view actually attempts to respond to
the initial mouse event(return YES). If you want to always have initial
mouse events do more than just activate the window then you should
return YES.
Hope this helps.
ryan
--
Ryan Dingman
FrontBase
email@hidden
On Tuesday, June 12, 2001, at 04:40 PM, Steve Gehrman wrote:
On thing I find most annoying with most MacOSX apps is having to click
on an apps window first to select it, and then click again to actually
click in the windows contents. I noticed that some apps on some
controls respond to the select click, while others do not.
Is there a way to set your views to always get select clicks?
steve
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev