Re: Opening a drawer on program launch?
Re: Opening a drawer on program launch?
- Subject: Re: Opening a drawer on program launch?
- From: Andy Lee <email@hidden>
- Date: Sun, 21 Jul 2002 15:52:39 -0400
At 12:36 PM -0700 7/21/02, Andrew Merenbach wrote:
I would now like to add a drawer that will pop open each time the
user launches the program (that is, unless they turn it off in
preferences). The problem is that when I put "[tipDrawer open]"
into my awakeFromNib or applicationDidFinishLaunching routines, the
drawer doesn't appear to open. When I try putting that same code
into any of the other routines of my program, the drawer opens when
the routines are run. I can't seem to make it open when the program
launches, however. Is there something I'm missing?
I had the same problem. I found I had to first open the drawer's
window (in my case, with -makeKeyAndOrderFront:) before telling the
drawer to open.
--Andy
_______________________________________________
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.