• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: setMenuVisible
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setMenuVisible


  • Subject: Re: setMenuVisible
  • From: "Wesley Smith" <email@hidden>
  • Date: Fri, 28 Mar 2008 12:05:55 -0700

On Fri, Mar 28, 2008 at 5:05 AM, Uli Kusterer
<email@hidden> 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?

Meaning every window in my app "disappears" kind of like with cmd+H.


>  Does it get closed?
No,

> Does it get moved somewhere one can't see it?
Yes

>Does your app get quit?
No

> What kind of window is it? NSWindow?
Yes

> NSPanel?
No

> Your  own subclass (any potentially relevant overrides?)?
Yes

> Floating?
No

> Non- floating?
Yes

> Did you specify a particular window level?
Normal



Basically it seems that the hiding the menu bar through NSMenu is
equivalent to a cmd+H for whatever reason.

wes
_______________________________________________

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

References: 
 >setMenuVisible (From: "Wesley Smith" <email@hidden>)
 >Re: setMenuVisible (From: Uli Kusterer <email@hidden>)

  • Prev by Date: Re: machine with null serial number?
  • Next by Date: Flickering in NSTableView with Core Animation
  • Previous by thread: Re: setMenuVisible
  • Next by thread: Re: setMenuVisible
  • Index(es):
    • Date
    • Thread