Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Opening NSDrawer on app startup



- (id)awakeFromNib
{
[[myDrawer parentWindow] makeKeyAndOrderFront:self];
[myDrawer open];
return self;
}


On Thursday, August 16, 2001, at 12:52 AM, Lists wrote:

I have a drawer that I'm opening when my app starts up, based on their state last time the app was quit. My problem is the only place I've been able to get this to work is in windowDidBecomeMain, so if my app was launched in the background, the drawer doesn't actually open until the window is brought to the front. Other apps do this in the background, but from where?

-john
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev

Ronaldo Nascimento
NetProof(r) Solutions




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.