On Thu, Mar 25, 2010 at 9:25 PM, Knut Lorenzen <k...@macdisk.de> wrote:
> > So why not use [NSApp activateIgnoringOtherApps: YES], do all the stuff you > need to do and finally use [NSApp deactivate] to resign control? > > I don't need to activate the app to display a window with a level higher than NSNormalWindowLevel. This works fine even when the app is hidden. The only problem is the situation described above, when the app is frontmost and the user actively decides to hide it. Then all visible windows are ordered out (by NSApp, I presume, or perhaps the window manager? I haven't really looked into this yet). As for it not being possible, that's what I'm thinking too, as my googling has lead to nothing. But I figured it was worth asking anyhow, in case there is some snazzy method in NSApp I'm not aware of that I can override. -F _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com