• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Cancelling a window move
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Cancelling a window move
      • From: Brad Carter <email@hidden>
  • Prev by Date: Re: Saving images to MySQL
  • Next by Date: NSArrayController can't removeObject(s) because of missing managed object context
  • Previous by thread: Re: Multiple sliders updating the same text field
  • Next by thread: Re: Cancelling a window move
  • Index(es):
    • Date
    • Thread