• 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: [newbie] Hot Key
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [newbie] Hot Key


  • Subject: Re: [newbie] Hot Key
  • From: Finlay Dobbie <email@hidden>
  • Date: Tue, 2 Jul 2002 19:16:23 +0100

On Tuesday, July 2, 2002, at 07:03 PM, Ondra Cada wrote:

if you have a plain-C code which does work for you properly in a Carbon thing, it would work as well in Cocoa. The "optionKey" of yours does not look to me like a constant at all; though, since I don't know Carbon mysel,
I may be wrong.

You are.

From Events.h:

enum {
activeFlag = 1 << activeFlagBit,
btnState = 1 << btnStateBit,
cmdKey = 1 << cmdKeyBit,
shiftKey = 1 << shiftKeyBit,
alphaLock = 1 << alphaLockBit,
optionKey = 1 << optionKeyBit,
controlKey = 1 << controlKeyBit,
rightShiftKey = 1 << rightShiftKeyBit,
rightOptionKey = 1 << rightOptionKeyBit,
rightControlKey = 1 << rightControlKeyBit
};

-- Finlay
_______________________________________________
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: [newbie] Hot Key (From: Ondra Cada <email@hidden>)

  • Prev by Date: Re: Installing a new login item?
  • Next by Date: Re: NSBezierPath (again) and region subtraction.
  • Previous by thread: Re: [newbie] Hot Key
  • Next by thread: Re: TextView and attachments
  • Index(es):
    • Date
    • Thread