• 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
Preventing a window from coming to the foreground
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Preventing a window from coming to the foreground


  • Subject: Preventing a window from coming to the foreground
  • From: John Scalo <email@hidden>
  • Date: Mon, 06 Jan 2003 13:49:39 -0800

Does anyone know how one would prevent a window from coming to the
foreground after a mouse click? There is a windowDidBecomeMain delegate but
not a windowShouldBecomeMain delegate (and even if there were I'm not sure
that would help).

I have some windows with custom close/minimize/zoom buttons, and I want them
to behave correctly when one of the widgets are clicked while the window is
not foremost. As you know, in this case the widgets should do their thing
but the window should remain in the background. Maybe this could be
accomplished in the NSWindow or NSButton subclass?

Thanks
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Internet programming, point me?
  • Next by Date: Re: Random sorting
  • Previous by thread: Re: porting apps from NextStep to Cocoa
  • Next by thread: Current Selector
  • Index(es):
    • Date
    • Thread