• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Basic Window Management
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Basic Window Management


  • Subject: Basic Window Management
  • From: "Andrew Zahra" <email@hidden>
  • Date: Sun, 24 Aug 2008 08:58:33 +1000

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 (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

  • Follow-Ups:
    • Re: Basic Window Management
      • From: Charles Steinman <email@hidden>
  • Prev by Date: Re: How to read pixel values of monochrome images
  • Next by Date: Re: Basic Window Management
  • Previous by thread: Re: How to read pixel values of monochrome images
  • Next by thread: Re: Basic Window Management
  • Index(es):
    • Date
    • Thread