FROM : Lorenzo
DATE : Tue Dec 07 22:24:29 2004
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_removed>
> From: Ricky Sharp <<email_removed>>
> Date: Tue, 07 Dec 2004 11:24:03 -0600
> To: Lorenzo <<email_removed>>
> Cc: <email_removed>
> Subject: Re: Found! Click, activate window and select an object
>
>
> On Tuesday, December 07, 2004, at 10:51AM, Lorenzo <<email_removed>> 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)
>
DATE : Tue Dec 07 22:24:29 2004
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_removed>
> From: Ricky Sharp <<email_removed>>
> Date: Tue, 07 Dec 2004 11:24:03 -0600
> To: Lorenzo <<email_removed>>
> Cc: <email_removed>
> Subject: Re: Found! Click, activate window and select an object
>
>
> On Tuesday, December 07, 2004, at 10:51AM, Lorenzo <<email_removed>> 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)
>
| Related mails | Author | Date |
|---|---|---|
| Lorenzo | Dec 7, 17:55 | |
| Ricky Sharp | Dec 7, 18:24 | |
| Lorenzo | Dec 7, 22:24 |






Cocoa mail archive

