Re: How to catch modal window appearance?
Re: How to catch modal window appearance?
- Subject: Re: How to catch modal window appearance?
- From: Alexander Bokovikov <email@hidden>
- Date: Sat, 27 Mar 2010 12:28:17 +0500
On 26.03.2010, at 23:10, Fritz Anderson wrote:
On 26 Mar 2010, at 11:12 AM, Alexander Bokovikov wrote:
Is there any notification or NSWindow delegate method, called
immediately after the modal window is shown on screen? It looks
like windowDidExposed doesn't come to a modal window. Is there any
solution?
Just to check on the obvious points:
* Have you set a delegate for the window, which would receive the
windowDidExpose: message?
* Have you named the method "windowDidExpose:" (without d, with :)?
Yes, it's all done. That was just a typo in the email. I've copy/
pasted method declaration from the API Reference, so it's written
correctly in the project. Nevertheless it is never called. I suppose
that the problem is just the same as with other notifications - I need
to do some actions to get them from a modal window message loop. But I
have no idea of how to do it in this particular case.
Thanks.
_______________________________________________
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