• 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
looking for correct way to trap for option key
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

looking for correct way to trap for option key


  • Subject: looking for correct way to trap for option key
  • From: Theodore Petrosky <email@hidden>
  • Date: Thu, 13 Nov 2003 05:44:25 -0800 (PST)

I have a feeling that I was just doing this wrong...
it was working in jaguar but will not work in
panther..

I have a stepper that increments a date field. one
click is one day... hold the option, and 1 click is 1
hour. In the stepper method, I have a check for the
option key...

if ([[NSApp currentEvent] modifierFlags] ==
NSAlternateKeyMask) {
//do something else... /24hours
}

this works in jaguar but does not in panther. Can
someone point me in the right direction?

Ted

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
_______________________________________________
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: looking for correct way to trap for option key
      • From: Stéphane Sudre <email@hidden>
    • Re: looking for correct way to trap for option key
      • From: "Sean McBride" <email@hidden>
  • Prev by Date: Modal Windows in Framework or Bundle?
  • Next by Date: Re: No man pages when installing xcode?
  • Previous by thread: Re: Modal Windows in Framework or Bundle?
  • Next by thread: Re: looking for correct way to trap for option key
  • Index(es):
    • Date
    • Thread