Skip navigation.
 
mlWindow Dragging in a subview...
FROM : Troy Dawson
DATE : Thu Jan 02 20:11:38 2003

some time ago on cocoa-dev, jcr wrote:

> Just replace the window's contentView with a custom view of your own.
> In your custom view class, implement the -mouseDownCanMoveWindow
> method to return YES if the titlebar was hit.


but in my tests -mouseDownCanMoveWindow is only called once on each
view, not on each mousedown event.

Is there a way to programmatically disable mouse window dragging?

The RoundTransparentWindow sample is cheating by moving the window
directly. This is less smooth than the builtin dragging.

=td=
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
No related mails found.