Re: closing modal window leaves next window inactive?
Re: closing modal window leaves next window inactive?
- Subject: Re: closing modal window leaves next window inactive?
- From: Chas Spillar <email@hidden>
- Date: Mon, 2 Jul 2007 16:22:57 -0700
I have used -[NSWindow makeKeyAndOrderFront:] in the past to get the
window to activate properly.
Chas.
On Jul 2, 2007, at 3:49 PM, Steve Christensen wrote:
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
_______________________________________________
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