• 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
Re: Opening NSDrawer on app startup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Opening NSDrawer on app startup


  • Subject: Re: Opening NSDrawer on app startup
  • From: Ronaldo Nascimento <email@hidden>
  • Date: Thu, 15 Nov 2001 09:29:10 -0500

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


  • Follow-Ups:
    • Re: Opening NSDrawer on app startup
      • From: Charles Jolley <email@hidden>
  • Prev by Date: sub-projects in ProjectBuilder
  • Next by Date: Re: NSWindow / PB possible bugs
  • Previous by thread: Re: sub-projects in ProjectBuilder
  • Next by thread: Re: Opening NSDrawer on app startup
  • Index(es):
    • Date
    • Thread