• 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: -[NSResponder flagsChanged:] not called?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: -[NSResponder flagsChanged:] not called?
      • From: Marco Scheurer <email@hidden>
  • Prev by Date: Re: Drag and Drop Oddities
  • Next by Date: Forcing a REBOOT in finder?
  • Previous by thread: -[NSResponder flagsChanged:] not called?
  • Next by thread: Re: -[NSResponder flagsChanged:] not called?
  • Index(es):
    • Date
    • Thread