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 21:25:23 +0100
Am 25.03.2010 um 20:52 schrieb fabian:
> Sorry for being unclear. I want NSApp to behave normally, i.e. when the user
> hides it (with Command+H) the menu bar and all windows _except this one
> window_ should hide.
I am no expert here, but I don't believe that is possible.
> I do know when this floating window is supposed to be
> on screen and when it's not
<...>
So why not use [NSApp activateIgnoringOtherApps: YES], do all the stuff you need to do and finally use [NSApp deactivate] to resign control?
_______________________________________________
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