Re: Snap-to-edge palettes / dragging windows
Re: Snap-to-edge palettes / dragging windows
- Subject: Re: Snap-to-edge palettes / dragging windows
- From: Joel Rosenblum <email@hidden>
- Date: Thu, 9 May 2002 23:25:20 -0400
Hi Joel,
Thanks for your reply.
What Fire does is have an NSWindow subclass which registers to observe
NSWindowDidMoveNotification. When it receives a notification, it snaps
the window as appropriate. The problem with that is that it's held
hostage by when the notifications are sent; you get a "bottle in the
bath" effect, with the window being dragged and then "bobbing" back to
the appropriate snapped location. I don't like that much. :)
Ohhh... now I get it. I thought what Fire did was pretty cool when I
first saw it, but I didn't realize it was because they weren't able to
implement it the right way. ;)
_______________________________________________
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.