• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Found! Click, activate window and select an object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Found! Click, activate window and select an object
      • From: Lorenzo <email@hidden>
References: 
 >Found! Click, activate window and select an object (From: Lorenzo <email@hidden>)

  • Prev by Date: FYI: Bug with archived NSShadow objects
  • Next by Date: Re: NSView not resizing when parent view resizes
  • Previous by thread: Found! Click, activate window and select an object
  • Next by thread: Re: Found! Click, activate window and select an object
  • Index(es):
    • Date
    • Thread