Re: Non opaque NSView subclass moving its window when dragged
Re: Non opaque NSView subclass moving its window when dragged
- Subject: Re: Non opaque NSView subclass moving its window when dragged
- From: Greg Parker <email@hidden>
- Date: Wed, 28 Nov 2007 00:09:18 -0800
Raphael Sebbe wrote:
I have an NSView subclass which returns no for -isOpaque (intended).
When clicking and dragging inside that view, the window moves, which
is not what I want. The mouseXxxx: methods are overridden, and do
not call super's. Does someone have a clue on this ?
Look up -[NSView mouseDownCanMoveWindow].
"This allows applications to determine the region by which a window
can be moved. By default, this method returns NO if the view is
opaque; otherwise, it returns YES. Subclasses can override this method
to return a different value."
--
Greg Parker email@hidden Runtime Wrangler
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden