Well, the problem was that stellar Dev Env XCode 4.2 ... it quit writing NSLog out put to the degugger console ... so since I did not see my log of 'keydown" I thought it was not being called ... yeah I am stupid for not setting a break point but I don't wear a belt with suspenders either.
I love xc 4.2 , my productivity ha skyrocketed since switching! -koko On Nov 3, 2011, at 11:48 AM, koko wrote: > I agree there is a bigger problem if NSResponder's or NSWindow's -keyDown: > is not being called. > > <any suggestion on where to look for this "problem"> > > > But, I just want to get done and if NSResponder's -flagsChanged: will get the > job done, then great! > > Thx. > > -koko > > On Nov 3, 2011, at 11:39 AM, Conrad Shultz wrote: > >> I assume you mean that keyDown: is not called if _only_ a modifier key is >> pressed. If it's not called for any key press then you have bigger problems. >> >> To answer your question, the method you are looking for is NSResponder's >> -flagsChanged:. >> >> (Sent from my iPad.) >> >> -- >> Conrad Shultz >> >> On Nov 3, 2011, at 10:25, koko <k...@highrolls.net> wrote: >> >>> Within a method I want to read the keyboard to look for ctrl or shift being >>> down. Is this possible? >>> >>> I ask because I first thought to implement keyDown and set a flag for the >>> the key BUT for whatever crazy reason the keyDown for the view is not being >>> called ... the view has been made first responder. >>> >>> Any comments or suggestions would be appreciated. >>> >>> -koko >>> >>> _______________________________________________ >>> >>> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) >>> >>> Please do not post admin requests or moderator comments to the list. >>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com >>> >>> Help/Unsubscribe/Update your Subscription: >>> http://lists.apple.com/mailman/options/cocoa-dev/conrad%40synthetiqsolutions.com >>> >>> This email sent to con...@synthetiqsolutions.com >> > > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/koko%40highrolls.net > > This email sent to k...@highrolls.net > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com