Re: NSWindow ignore mouse clicks
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