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: Lorenzo <email@hidden>
- Date: Tue, 07 Dec 2004 22:24:29 +0100
YES! That's what I was looking for!
It works like a charm, even with dragging.
Thank you so much.
Best Regards
--
Lorenzo
email: email@hidden
> From: Ricky Sharp <email@hidden>
> Date: Tue, 07 Dec 2004 11:24:03 -0600
> To: Lorenzo <email@hidden>
> Cc: email@hidden
> Subject: Re: Found! Click, activate window and select an object
>
>
> 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