• 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
very specialized event handling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

very specialized event handling


  • Subject: very specialized event handling
  • From: Jonathan Sand <email@hidden>
  • Date: Fri, 27 Feb 2004 18:03:54 -0800
  • Resent-date: Fri, 27 Feb 2004 18:14:12 -0800
  • Resent-from: Jonathan Sand <email@hidden>
  • Resent-message-id: <email@hidden>
  • Resent-to: email@hidden

I'm doing a particular task during NSWindowController:windowDidMove. I've noticed, however, that whenever this method is called, the NSApp:currentEvent is a mouse dragged event. It's never a mouse up event. This is a problem because I'd like to do the particular task after the user releases the mouse button. So, I'm looking for another event handler. The next one that comes to mind is, of course, NSWindow:mouseUp. Unfortunately, that method gets called neither during nor after resizing the window. Presumably, this event is gobbled up by the mechanism that does the window resizing. I've looked around for other alternatives but am stumped. Any suggestions?

email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: very specialized event handling
      • From: "Louis C. Sacha" <email@hidden>
  • Prev by Date: Basic thread example?
  • Next by Date: Uploading To A Server
  • Previous by thread: Re: Basic thread example?
  • Next by thread: Re: very specialized event handling
  • Index(es):
    • Date
    • Thread