Re: [#24593860] Re: Transparent NSWindow And mouseDown Events

Kyle Sluder <[email protected]> Thu, 1 Jul 2010 17:00:11 -0700
Newsgroups gmane.comp.macosx.devel
Message-ID <[email protected]>
Please don't set your reply-to address to be your support system when
posting to the list…

--Kyle Sluder

On Thu, Jul 1, 2010 at 4:57 PM, NickMtl <[email protected]> wrote:
> Hello,
>
> This is an automated response to inform you that your question has been entered into our system, and will be reviewed shortly. Your ticket has been submitted into the "General Support" department.
>
> We will respond to you as soon as possible.
>
> ==============
> Please keep this information, and use it when refering to your ticket:
>
> Ticket subject: Re: Transparent NSWindow And mouseDown Events
> Ticket number: 24593860
> Ticket link: https://secure.mpcustomer.com/ticket.php?ticket=24593860
> Ticket body: On Thu, Jul 1, 2010 at 4:08 PM, NickMtl <[email protected]> wrote:
>> Is there a way to get a -mouseDown event *and* a change of focus at
>> the same time?
>
> Have you overridden -acceptsFirstMouse: to return YES?
> http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ApplicationKit/Classes/NSView_Class/Reference/NSView.html#//apple_ref/occ/instm/NSView/acceptsFirstMouse:
>
> --Kyle Sluder