• 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: detect control key
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: detect control key


  • Subject: Re: detect control key
  • From: Nicholas Riley <email@hidden>
  • Date: Mon, 29 Jul 2002 15:31:16 -0500
  • Resent-date: Mon, 29 Jul 2002 15:31:32 -0500
  • Resent-from: Nicholas Riley <email@hidden>
  • Resent-message-id: <email@hidden>
  • Resent-to: email@hidden

On Mon, Jul 29, 2002 at 03:28:28PM -0500, Philip George wrote:
>
> We all have different concepts of what's "convenient." I prefer to use
> my own naming convention and I also prefer to have one name symbolize
> exactly which keys are held down instead of ORing several of them
> together. Neither way is better than the other; they are simply
> different ways of doing the same thing.

If you want to rename the constants that's fine, it's just clearer to
use symbolic constants instead of numbers, e.g. "#define mask_Shift shiftKey".

> I felt it was **HELPFUL** to offer **one** way, that I personally find
> very convenient, to do what this person is asking.

Uh, I was just offering a clarification for people who might have
inferred from your post that the constants weren't defined in Carbon.
Not trying to cast aspersions on your helpfulness!

--
=Nicholas Riley <email@hidden> | <http://www.uiuc.edu/ph/www/njriley>
Pablo Research Group, Department of Computer Science and
Medical Scholars Program, University of Illinois at Urbana-Champaign
_______________________________________________
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.

References: 
 >Re: detect control key (From: Nicholas Riley <email@hidden>)
 >Re: detect control key (From: Philip George <email@hidden>)

  • Prev by Date: Re: detect control key
  • Next by Date: Re: Rearranging NSWindows
  • Previous by thread: Re: detect control key
  • Next by thread: Re: detect control key
  • Index(es):
    • Date
    • Thread