• 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
Timing of window miniaturization?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Timing of window miniaturization?


  • Subject: Timing of window miniaturization?
  • From: jason rusoff <email@hidden>
  • Date: Thu, 30 Oct 2003 22:09:40 -0800

I am trying to have the main window in an app I'm writing miniaturize
on launch, if the user so desires. I do this in awakeFromNib. It
doesn't seem to work. Any ideas on what I might have missed? Do I need
to miniaturize later? I set a breakpoint and see that the window is
sent the miniaturize message, but the window is still on screen. Any
ideas?
Thanks,
Jason

public void awakeFromNib()
{
this.loadSavedSettings();
this.setConnectionState(NO_CONNECTION);
if (myConnectOnStartCheck.state() == NSCell.OnState)
{
this.connectNow(null);

}
if (myMinimizeCheck.state() == NSCell.OnState)
{
myMainWin.miniaturize(null);
}
this.startRecurringTimer();

}
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Timing of window miniaturization?
      • From: Andreas Mayer <email@hidden>
  • Prev by Date: Re: NetInfo Modification
  • Next by Date: Re: Animating control position
  • Previous by thread: Re: NSTableView questions
  • Next by thread: Re: Timing of window miniaturization?
  • Index(es):
    • Date
    • Thread