Re: Prevent NSWindow from hiding with app
Re: Prevent NSWindow from hiding with app
- Subject: Re: Prevent NSWindow from hiding with app
- From: Knut Lorenzen <email@hidden>
- Date: Thu, 25 Mar 2010 20:37:32 +0100
Am 25.03.2010 um 19:44 schrieb fabian:
> Thanks, but the "Hide on Deactivate" option only works when NSApp is
> deactived, not hidden (as in Command+H). The window I want to stay on screen
> is a system wide icon window like the one you see when adjusting screen
> brightness, so it's most definitely the expected behavior from a user
> perspective.
It is still unclear to me, what exactly you want to accomplish. Is your app notified in any way if it needs to display the window (say, by a keydown, like the brightness control you have mentioned)?
Perhaps [NSApp activateIgnoringOtherApps: YES]; would be useful then? Again, I (we?) don't understand precisely what you actually want to do.
Cheers,
Knut
_______________________________________________
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