Discussion Board
-
How to detect center navi key is pressed with Edit key not hold.
2004-01-12, 07:05
#1
Registered User
I have a need to detect center navigation key presss while the Edit key (Left Shift) is not hold.
I've tried this
if (aEventType == EEventKy &&
aKeyEvent.iCode == 63557 &&
aKeyEvent.iScanCode == 157 &&
aKeyEvent.iModifiers & EModifierLeftShift == 0)
but the last line seems to be incorrect.
Can anyone help?
-
Registered User
if (aEventType == EEventKy &&
aKeyEvent.iCode == 63557 &&
aKeyEvent.iScanCode == 157 &&
(aKeyEvent.iModifiers & EModifierLeftShift) == 0)
works
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules