Re: Enabling click-through
Re: Enabling click-through
- Subject: Re: Enabling click-through
- From: Kevin Ballard <email@hidden>
- Date: Thu, 11 Nov 2004 09:24:55 -0500
The code is freely available. This is the code for the Smoke display
plugin for Growl (http://www.growl.info). The window itself is an
NSPanel and the view is a custom subclass of NSView. And it has the
following code:
- (BOOL) shouldDelayWindowOrderingForEvent:(NSEvent *)theEvent {
return YES;
}
- (void) mouseDown:(NSEvent *) event {
[NSApp preventWindowOrdering];
if( _target && _action && [_target respondsToSelector:_action] ) {
[_target performSelector:_action withObject:self];
}
}
And yet, when I click on a smoke window that shows up, the current
window deactivates
On Nov 11, 2004, at 9:21 AM, Jim Correia wrote:
On Nov 11, 2004, at 9:03 AM, Kevin Ballard wrote:
It didn't work. I still see the same behaviour - the frontmost window
deactivates when I click on my custom view.
Well if you've followed all the advice in the documentation, you're
probably going to have to show some code before anyone can offer
further advice.
--
Kevin Ballard
email@hidden
http://www.tildesoft.com
http://kevin.sb.org
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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