Re: Found! Click, activate window and select an object
Re: Found! Click, activate window and select an object
- Subject: Re: Found! Click, activate window and select an object
- From: Ricky Sharp <email@hidden>
- Date: Tue, 07 Dec 2004 11:24:03 -0600
On Tuesday, December 07, 2004, at 10:51AM, Lorenzo <email@hidden> wrote:
>> when my window is not active, I have to click once then I have to click again
>> in order to select an object. I forgot how to make this in one click only.
>> Could someone remind me that?
>> Thanks.
>I have found, just to let the others know, in the window's delegate:
>
>-(void)windowDidBecomeMain:(NSNotification*)aNotification
>{
> [theView mouseDown:[NSApp currentEvent]];
>}
If your view is a custom view, you can also provide an implementation of acceptsFirstMouse: to return YES.
--
Rick Sharp
Intstant Interactive(tm)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden