Cancelling a window move
Cancelling a window move
- Subject: Cancelling a window move
- From: Tomas Zahradnicky <email@hidden>
- Date: Tue, 24 Jul 2007 21:09:13 +0200
Dear Cocoa developers,
our app occasionally needs to prevent users to move (and/or resize) a
cocoa window with a titlebar. I've successfully solved the resize by
overriding setFrame:... methods and that seems to perfectly work. On
the other hand, I'm quite desperate with the move as windowserver
moves the window and I can only know that the window will move via
the notification.
Is there a way to interrupt the window move after being notified with
the windowWillMove notification?
All the best,
Tomas Zahradnicky
# Ing. Tomas Zahradnicky, Jr.
# Assistant Professor
# The Czech Technical University
# Dept of Computer Science, FEE-CTU Prague
_______________________________________________
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