• 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: NSWindow ignore mouse clicks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSWindow ignore mouse clicks


  • Subject: Re: NSWindow ignore mouse clicks
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Thu, 14 Oct 2004 10:52:37 +0200

At 16:21 Uhr -0400 13.10.2004, Dominic Feira wrote:
How do I get a window's titlebar to ignore mouseclicks?

For my purposes, its okay that this window can be moved with the title bar, but I want to prevent it from becoming the frontmost window. Even by returning NO from canBecomeMainWindow and canBecomeKeyWindow, the window is still brought to the front when the title bar is clicked.

Look up "window layers" or "window levels" or whatever they were called. If you put your window in its own layer, it will stay in there and not come in front of windows in layers in front of it.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
References: 
 >NSWindow ignore mouse clicks (From: Dominic Feira <email@hidden>)

  • Prev by Date: Re: NSWindow ignore mouse clicks
  • Next by Date: Re: binding options help please
  • Previous by thread: Re: NSWindow ignore mouse clicks
  • Next by thread: FTP library recommendations?
  • Index(es):
    • Date
    • Thread