• 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
Background application, floating window and title bar.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Background application, floating window and title bar.


  • Subject: Background application, floating window and title bar.
  • From: "Mike Davis" <email@hidden>
  • Date: Mon, 8 Oct 2001 12:35:42 -0400

I seem to have a problem with a background application (which flags in the
plist) which has a floating window (NSPanel)...

When I click into the views inside the floating window all is okay in that
the focus is not taken away from the application I was currently in. I can
click around quite contendedly...

However, when I click the title bar of this window, it takes the focus away
from the foreground application, which is exactly what I don't want.
Graphically, the panel window doesn't change apprearance, but the window of
the other application dims out.

I suspect that the application layer has been switched, which seems like a
bug to me in the behaviour of the title bar i.e. it takes no notice of the
fact I'm a background application *and* a floating window too. Since the
window decoration is private, I can't try to examine this further to
discover what is going on.

The only solution I can think of is to not use the title bar in the window
and fake one with a custom view.

Any ideas?


  • Prev by Date: Persistance
  • Next by Date: Re: Faster drawing sprite and background
  • Previous by thread: Re: Persistance
  • Next by thread: Re: NSString to *NSGlyph (solved)
  • Index(es):
    • Date
    • Thread