Re: [newbie] Hot Key
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.