FROM : Wesley Smith
DATE : Fri Mar 28 20:05:55 2008
On Fri, Mar 28, 2008 at 5:05 AM, Uli Kusterer
<witness.of.<email_removed>> 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
DATE : Fri Mar 28 20:05:55 2008
On Fri, Mar 28, 2008 at 5:05 AM, Uli Kusterer
<witness.of.<email_removed>> 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
| Related mails | Author | Date |
|---|---|---|
| Wesley Smith | Mar 27, 08:24 | |
| Uli Kusterer | Mar 28, 13:05 | |
| Dominik Pich | Mar 28, 13:14 | |
| Wesley Smith | Mar 28, 20:05 | |
| John Joyce | Mar 30, 14:25 |






Cocoa mail archive

