Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Arrow key menu item



I have a menu item whose key equivalent is supposed to be the right arrow key. The menu is programmatically generated (not from a NIB).

The appearance of the menu item key after
SetMenuItemKeyGlyph( theMenuRef, kMyAnimateItem, kMenuRightArrowGlyph )
is exactly right -- a plain right arrow -- but the menu does not respond when the arrow key is pressed.

I have tried
SetMenuItemModifiers( theMenuRef, kMyAnimateItem, kMenuNoCommandModifier )
SetItemCmd( theMenuRef, kMyAnimateItem, XX )
Unfortunately I can't seem to find a value for XX that maps to the arrow key. What is the right way?

Robert P.
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.