• 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: Not receiving mouseDown/Up events in borderless window . . .
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Not receiving mouseDown/Up events in borderless window . . .


  • Subject: Re: Not receiving mouseDown/Up events in borderless window . . .
  • From: Ken Thomases <email@hidden>
  • Date: Sat, 12 Sep 2009 21:36:32 -0500

On Sep 12, 2009, at 9:12 PM, Michael A. Crawford wrote:

I have created a borderless window that is used to display a custom graphic, which need to respond to the enter key or a mouse click by closing itself. Seems straightforward enough. It works great on Snow Leopard (10.6) but I do not get the mouse events on Leopard (10.5). Hitting the enter key works on both.

Anyone seen this behavior before? I've included the code so you could see if I've left something out.

I think you need to setIgnoresMouseEvents:NO. I believe that windows which are transparent below a certain threshold ignore mouse events by default.


Regards,
Ken

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Not receiving mouseDown/Up events in borderless window . . .
      • From: "Michael A. Crawford" <email@hidden>
    • Re: Not receiving mouseDown/Up events in borderless window . . .
      • From: "Michael A. Crawford" <email@hidden>
References: 
 >Not receiving mouseDown/Up events in borderless window . . . (From: "Michael A. Crawford" <email@hidden>)

  • Prev by Date: Not receiving mouseDown/Up events in borderless window . . .
  • Next by Date: Re: Not receiving mouseDown/Up events in borderless window . . .
  • Previous by thread: Not receiving mouseDown/Up events in borderless window . . .
  • Next by thread: Re: Not receiving mouseDown/Up events in borderless window . . .
  • Index(es):
    • Date
    • Thread