Re: NSWindow ignore mouse clicks
Re: NSWindow ignore mouse clicks
- Subject: Re: NSWindow ignore mouse clicks
- From: Peter Maurer <email@hidden>
- Date: Thu, 14 Oct 2004 10:31:09 +0200
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.
I'm just guessing, but have you tried something like this...
- (void)orderFront: (id)sender {
// don't do anything here and don't call super
}
... in your NSWindow subclass?
Peter.
_______________________________________________
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