Brushed Metal Window Dragging
Brushed Metal Window Dragging
- Subject: Brushed Metal Window Dragging
- From: Michael Becker <email@hidden>
- Date: Fri, 1 Oct 2004 15:32:45 +0200
Hello!
I have a custom view in my application in which I want the user to drag
an image around. The window is brushed metal, so everytime I click and
drag the mouse in the view, the entire window moves.
I tried putting up a modal event loop (as suggested in the
documentation) which did not work. I also tried to setNextResponder to
NULL, but most probably I have not yet fully understood the responder
chain concept.
Nevertheless, I achieved the desired behavior by putting the custom
view inside a scroll view and hiding the scrollbars. But that doesn't
seem like the "right" way. So what do I have to do in order to keep the
window from being dragged? It feels like I should catch the mouse
event, but I don't know how to do that.
Kind regards,
Michael
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden