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 (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]