I am trying to add a log window to an otherwise single window application
and have come across a couple of basic window management issues.
Firstly, if the log window is closed by clicking the close button and then I
subsequently call makeKeyAndOrderFront then I get a crash. I presume there
is a window life cycle issue here I don't understand. How do I correctly
bring back a closed window?
Secondly, since this is a log window I want to write log info whenever I
have some. I also get a crash if I attempt to write to the textView when the
window has been closed. Can I keep the window alive, even if not on screen,
so I can continue to write to the textView?

thanks,
Andrew
_______________________________________________

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]

Reply via email to