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 (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 arch...@mail-archive.com

Reply via email to