Timing of window miniaturization?
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.