• 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: Putting window titlebar under menu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Putting window titlebar under menu


  • Subject: Re: Putting window titlebar under menu
  • From: Kim Foo-Jones <email@hidden>
  • Date: Fri, 25 Jan 2002 16:00:55 +0000

On Friday, January 25, 2002, at 10:56 AM, email@hidden wrote:

Is there any way to force a window (a floating panel) to have its
titlebar under the menubar? I've tried using
setFrameTopLeftPoint: but if I specify a position under the
menubar, it moves the window to the right instead...

i thing your NSBorderlessWindowMask is the right solution in this case. just you may need to call a mouseDown event so that you can move your window for a right placement [think of clock in OS X ]:

The drawback with that is that it won't let me add an NSToolbar to the window, which means I'd have to roll my own toolbar code. (I want to make a user-configurable toolbar, so NSToolbar would be really useful.)

So, I see two options:

1. Is there any way to get a window with a titlebar partially under the menu, or
2. Is there any way to get an NSToolbar in a borderless window?

Are either of those possible, or is there another way, or do I have to start writing my own toolbar code..?

Thanks,

-Kim


References: 
 >Re: Putting window titlebar under menu (From: email@hidden)

  • Prev by Date: Re: How can I standardize a path name? (Cocoa solution wanted)
  • Next by Date: How viable is Cocoa development?
  • Previous by thread: Re: Putting window titlebar under menu
  • Next by thread: app size
  • Index(es):
    • Date
    • Thread