Re: Preventing a user from moving a window
Re: Preventing a user from moving a window
- Subject: Re: Preventing a user from moving a window
- From: Benjamin Dobson <email@hidden>
- Date: Wed, 26 Nov 2008 11:09:02 +0000
On 26 Nov 2008, at 03:28:11, Damien Cooke wrote:
Hi all,
I have an arrangement of windows that I do not want the user to
move. What is the best way of doing this. There are several ways I
thought of but they are not very elegant. Can someone point me in
the right direction?
Regards
Damien
You could use the windowWillMove: delegate method, and reset the
position of the window while the user is trying to move it. It's not
ideal, but it should work (I haven't tested it).
_______________________________________________
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