how to know a window finishes resizing

2008-05-07 Thread Norio
Hi there, Would you tell me how to know a window finishes resizing? If my memory is correct, Carbon Event has the event. 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

Re: how to know a window finishes resizing

2008-05-07 Thread Jeff Nouwen
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

Re: how to know a window finishes resizing

2008-05-07 Thread Graham Cox
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

Re: how to know a window finishes resizing

2008-05-07 Thread Jens Alfke
On 7 May '08, at 6:01 AM, Norio wrote: Would you tell me how to know a window finishes resizing? NSView has a bunch of accessors to deal with this, because you sometimes need to customize the way a view redraws to make it not take too much time during a live resize. If you need to get

Re: how to know a window finishes resizing

2008-05-07 Thread Manfred Schwind
Would you tell me how to know a window finishes resizing? You may want to look at these NSView methods: - (void)viewWillStartLiveResize; - (void)viewDidEndLiveResize; - (BOOL)inLiveResize; Regards, Mani -- http://www.mani.de iVolume - Loudness adjustment for iTunes. LittleSecrets