Window Dragging in a subview...
Window Dragging in a subview...
- Subject: Window Dragging in a subview...
- From: Troy Dawson <email@hidden>
- Date: Thu, 2 Jan 2003 11:11:38 -0800
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@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.