Re: setMenuVisible
Re: setMenuVisible
- Subject: Re: setMenuVisible
- From: Dominik Pich <email@hidden>
- Date: Fri, 28 Mar 2008 13:14:40 +0100
use the presentation mode ... setSystemUIMode( int ) or the like...
On Mar 28, 2008, at 1:05 PM, Uli Kusterer wrote:
On 27.03.2008, at 08:24, Wesley Smith wrote:
I'm trying to make an NSWindow that takes up the entire screen
including the menu bar but is not actually a fullscreen window. I
know this is possible with Carbon, but I can't figure it out with
Cocoa. Whenever I call [NSMenu setMenuVisible:TRUE], the menubar
goes
away, but so does my window.
What do you mean by "goes away". Does the window get ordered out?
Does it get closed? Does it get moved somewhere one can't see it?
Does your app get quit? What kind of window is it? NSWindow?
NSPanel? Your own subclass (any potentially relevant overrides?)?
Floating? Non-floating? Did you specify a particular window level?
I can't for the life of me figure out
how to hide one without the other. The reason I want to do this is
so
that the user can bring other windows on top of the window despite it
taking up the entire screen. Any help appreciated.
I'm not sure what that would have to do with hiding the menu bar? If
you want a window to be fullscreen and behind all others, send it
behind the other windows, or put it at a window level that layers
behind the windows you want to be in front.
Can you give more information? All I have for you is more questions
with this dearth of relevant information.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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