Re: how to know a window finishes resizing
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