Re: windowDidExpose: When called?
Re: windowDidExpose: When called?
- Subject: Re: windowDidExpose: When called?
- From: j o a r <email@hidden>
- Date: Fri, 31 Oct 2008 09:27:58 -0700
On Oct 31, 2008, at 8:23 AM, Claus Atzenbeck wrote:
I need a delegate that gets called whenever the window appears on
the screen. The opposite of windowWillClose:, so to say.
However,
- (void)windowDidExpose:(NSNotification *)notification
does not get called via any of the following methods:
[windowController showWindow:self];
[[windowController window] orderFront:self];
[[windowController window] orderBack:self];
The delegate works; for example, windowWillClose: gets called.
I think that you will need to use NSWindow / NSPanel subclasses to
accomplish this. That's at least how I've solved that problem in the
past.
If you'd like to see this capability added to NSWindow, I suggest that
you file an enhancement request. It will be flagged as a duplicate,
but it would still be useful - by showing interest, it's more likely
that it will be prioritized.
j o a r
_______________________________________________
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