• 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
closing modal window leaves next window inactive?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

closing modal window leaves next window inactive?


  • Subject: closing modal window leaves next window inactive?
  • From: Steve Christensen <email@hidden>
  • Date: Mon, 2 Jul 2007 15:49:19 -0700

I have a controller that loads a window from a nib. It initializes the window and controls in its -awakeFromNib, then calls [NSApp runModalForWindow:_window] to run the window modally. When the OK button is hit, it calls [NSApp abortModal] to terminate the modal session. The modal window goes away, but the previously (and now current) frontmost window is inactive. Is that window supposed to become active automagically, or did I miss something in the setup/ tear down?

Please no comments about using a sheet window; the window behind mine doesn't belong to me.

steve

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: closing modal window leaves next window inactive?
      • From: Keary Suska <email@hidden>
    • Re: closing modal window leaves next window inactive?
      • From: Chas Spillar <email@hidden>
  • Prev by Date: Popup Behavior
  • Next by Date: Re: Application Design
  • Previous by thread: Which profile is applied in converting PDF/EPS images from CMYK to RGB?
  • Next by thread: Re: closing modal window leaves next window inactive?
  • Index(es):
    • Date
    • Thread