Re:[Solution] Preventing a window from moving while dragging a view.

2010-10-07 Thread Tony Romano
I found what I needed to do. Implement in the custom view: - (BOOL)mouseDownCanMoveWindow { return NO; } Tony Romano http://www.cocoaegghead.com On Oct 6, 2010, at 11:13 AM, Tony Romano wrote: I have a NSPanel with a NSToolbar and a tabless NSTabView to create an inspector.

Preventing a window from moving while dragging a view.

2010-10-06 Thread Tony Romano
I have a NSPanel with a NSToolbar and a tabless NSTabView to create an inspector. The NSToolbarItems for the NSToolbar use a custom view. This all works as expected. I am trying to implement drag/drop to move toolbar items to/from different Inspector Panels to allow the user to customize thei