• 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
Controlling cocoa windows hit test
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Controlling cocoa windows hit test


  • Subject: Controlling cocoa windows hit test
  • From: Tristan Genevet <email@hidden>
  • Date: Thu, 19 Nov 2009 17:04:04 +0100

Hi,

I'm looking for a way to control hit testing on a cocoa transparent window. The default behavior, as I understood it, is that if a pixel is not entirely transparent, then the click occured in the window. I would like to have more control over this, so a click in my custom drop shadow don't cause my window to become key. Can you think of a way/hack to make this happen, something like kEventWindowHitTest in carbon ?

Thanks,

Tristan
_______________________________________________

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


  • Prev by Date: NSStatusItem with agent
  • Next by Date: need to find exact WiFi encryption method
  • Previous by thread: NSStatusItem with agent
  • Next by thread: need to find exact WiFi encryption method
  • Index(es):
    • Date
    • Thread