• 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: Ondra Cada <email@hidden>
  • Date: Tue, 30 Jul 2002 00:14:00 +0200

On Monday, July 29, 2002, at 11:11 , Philip George wrote:

Yes, there are constants defined.
No, I do not choose to use them.
They must be OR'd together, which I'd rather not have to do.
I prefer my own naming convention.

So what? You should have used something like

#define My_nice_complex_name (UGLYNAME1|UGLYNAME2|UGLYNAME3)

eating thus the cake and keeping it as well: your naming convention, and portable and reasonably typo-proof at the same time.
---
Ondra Hada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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: Philip George <email@hidden>)

  • Prev by Date: Events in the background
  • Next by Date: More NSButton subclassing
  • Previous by thread: Re: detect control key
  • Next by thread: Dereferencing a pointer in ObjC?
  • Index(es):
    • Date
    • Thread