• 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
the first mouseDown message of NSWindow
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

the first mouseDown message of NSWindow


  • Subject: the first mouseDown message of NSWindow
  • From: Torsten Curdt <email@hidden>
  • Date: Wed, 14 Dec 2011 23:13:43 +0100

I have a custom window that where I receive mouseDown messages. Now
the first mouseDown is always lost because it just activates the
window.
Here is the relevant code:

  https://gist.github.com/0b3b010ad675a349ce72

So I was digging through the docs but I don't see a way around this.

  http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/WinPanel/Concepts/ChangingMainKeyWindow.html

But I've seen this working in other applications so I must be missing something.
Anyone that could give me some pointers?

cheers,
Torsten
_______________________________________________

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: the first mouseDown message of NSWindow
      • From: Graham Cox <email@hidden>
    • Re: the first mouseDown message of NSWindow
      • From: Conrad Shultz <email@hidden>
    • Re: the first mouseDown message of NSWindow
      • From: Graham Cox <email@hidden>
    • Re: the first mouseDown message of NSWindow
      • From: MeldaProduction <email@hidden>
  • Prev by Date: Re: predicates and sort descriptors for NSFetchRequest - documentation is a bit vague
  • Next by Date: Re: KVO Setting a flag for any property change
  • Previous by thread: Re: NSTableView - how to dynamically change the height of the elements?
  • Next by thread: Re: the first mouseDown message of NSWindow
  • Index(es):
    • Date
    • Thread