Re: detect control key
Re: detect control key
On Mon, Jul 29, 2002 at 01:59:46PM -0500, Philip George wrote:
>
[3] Then add the following #defines (not necessary, but VERY
>
convenient):
>
>
#define mask_Shift 512
>
#define mask_Control 4096
[...]
No, not necessary because Carbon already defines these, see Events.h.
Also, IMO it makes no sense to define composite masks when you can
just use bitwise or (cmdKey | optionKey).
--
=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.