Re: -[NSResponder flagsChanged:] not called?
Re: -[NSResponder flagsChanged:] not called?
- Subject: Re: -[NSResponder flagsChanged:] not called?
- From: Matt Neuburg <email@hidden>
- Date: Wed, 12 Jun 2002 08:56:01 -0700
On Tue, 11 Jun 2002 16:38:54 -0600 (MDT), Harold Cooper
<email@hidden> said:
>
I've implemented the flagsChanged: message of NSResponder as
>
follows in my NSView subclass:
>
>
- (void)flagsChanged:(NSEvent *)event
>
{
>
NSLog(@"flagsChanged:");
>
//...
>
}
>
>
of course nothing is printed, nor is the omitted portion executed.
Harold - flagsChanged works perfectly in my app. I suspect that your
problem is that flagsChanged doesn't happen "in" any view, so you need to
catch it in your NSWindow subclass; that's what I do, anyway. m.
--
matt neuburg, phd = email@hidden,
http://www.tidbits.com/matt
pantes gar anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart.
http://www.tidbits.com/
_______________________________________________
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.