very specialized event handling
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.