• 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
Re: how to know a window finishes resizing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to know a window finishes resizing


  • Subject: Re: how to know a window finishes resizing
  • From: Graham Cox <email@hidden>
  • Date: Thu, 8 May 2008 00:30:30 +1000

The doc's description doesn't conflict with the experience of receiving messages in windowDidResize: during resizing. That tells you it did resize (even just a little bit), the -windowWillResize:toSize: is usually used for constraining the window size.

AFAICS, there is no such separate notification. Why do you need to know? Maybe there's a workaround.

G.


On 7 May 2008, at 11:17 pm, norio wrote:

Jeff,

Thank you for your quick info.
I tried putting a break point in my windowDidResize to detect if the method actually track only after resizing.
However, it tracked every resizing. Am I missing something?


On 2008/05/07, at 22:07, Jeff Nouwen wrote:

On May-7-2008, at 7:01 AM, Norio wrote:
Would you tell me how to know a window finishes resizing?

I know windowDidResize can track its resizing, but I don't want to get
information while the window resizing. I do want to know after user
releases the mouse button or presses zoom icon.

-windowDidResize: is indeed the delegate method you're looking for. From the docs: "Sent by the default notification center immediately after an NSWindow object has been resized."


The one that's used _while_ the user is resizing a window is - windowWillResize:toSize:

_______________________________________________

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

_______________________________________________

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


References: 
 >how to know a window finishes resizing (From: Norio <email@hidden>)
 >Re: how to know a window finishes resizing (From: Jeff Nouwen <email@hidden>)
 >Re: how to know a window finishes resizing (From: norio <email@hidden>)

  • Prev by Date: Re: offtopic: cocoa iphone
  • Next by Date: Re: Deep sleep and file wrappers?
  • Previous by thread: Re: how to know a window finishes resizing
  • Next by thread: Re: how to know a window finishes resizing
  • Index(es):
    • Date
    • Thread