On Jun 22, 2010, at 6:56 PM, Gideon King wrote: > Hi, I have a toolbar item that I want to use for having an item that I drag > onto my main view. I can initiate the drag from my custom view, but the > window gets moved by the mouse down/dragged. I'm sure this will be trivial, > but can't think of how to do this...I've overridden mouseDown: and > mouseDragged: in my view, but the window still gets dragged. > > How do I stop the window being dragged?
Sounds like you want to override -mouseDownCanMoveWindow to return NO. Hope this helps, -Peter_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com