On Mar 25, 2010, at 1:10 PM, fabian wrote:
> Is it possible to prevent a window from hiding when NSApp is hidden, so it
> always stays on screen? I only want the menu bar to go away.
Honestly, it sounds like what you really want is to spin off this window into a
separate process with LSUIElement
On Fri, Mar 26, 2010 at 12:05 AM, Jens Alfke wrote:
>
> On Mar 25, 2010, at 12:52 PM, fabian wrote:
>
> 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.
>>
>
> Easy:
On Mar 25, 2010, at 12:52 PM, fabian wrote:
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.
Easy: just set window.canHide = NO;
—Jens
___
On Thu, Mar 25, 2010 at 9:55 PM, Philip Mobley wrote:
> On Mar 25, 2010, at 12:52 PM, fabian wrote:
>
> > 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 do know when th
On Thu, Mar 25, 2010 at 9:25 PM, Knut Lorenzen 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 NSNormalWindow
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
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 do know when this floating window is supposed to be
on screen and when it's not; it's displayed for a few seconds in response t
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 definit
Hi Joanna, Ken, Knut,
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
Hi Fabian
> Is it possible to prevent a window from hiding when NSApp is hidden, so it
> always stays on screen? I only want the menu bar to go away.
Simply uncheck the "Hide on Deactivate" option for the window in IB.
Joanna
--
Joanna Carter
Carter Consulting
_
On Mar 25, 2010, at 1:10 PM, fabian wrote:
> Is it possible to prevent a window from hiding when NSApp is hidden, so it
> always stays on screen? I only want the menu bar to go away.
That doesn't make any sense.
You "want the menu bar to go away"? So there would be no menu bar? Or so that
som
Am 25.03.2010 um 19:10 schrieb fabian:
> Is it possible to prevent a window from hiding when NSApp is hidden, so it
> always stays on screen? I only want the menu bar to go away.
Do you really mean "hidden" (like Command-H) or do you mean "not the frontmost
application"? If the latter is the c
Is it possible to prevent a window from hiding when NSApp is hidden, so it
always stays on screen? I only want the menu bar to go away.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the
13 matches
Mail list logo