• 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
Re: Snap-to-edge palettes / dragging windows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
  • Prev by Date: (no subject)
  • Next by Date: Java to Cocoa help request
  • Previous by thread: Re: Snap-to-edge palettes / dragging windows
  • Next by thread: Re: [sort of OT] C++ headers and Objective-C++
  • Index(es):
    • Date
    • Thread