>I created a quick form with a text box to capture keystrokes and report the nKeyCode and nShiftAltCtrl values. I know InKey() Help reports values but I'm not always sure it shows all possibilities. I was looking for some combinations I want to use.
>
>I note that when pressing the '+' and '-' keys on the keypad ( with NumLock on ), nKeyCode is 43 and 45 for the '+' and '-' respectively ( nShiftAltCtrl 0 ). Pressing 'Shift +' and 'Shift -' on the keypad gives same nKeyCodes with nShiftAltCtrl of 1 for both. So far so good. But pressing 'Ctrl +' and 'Ctrl -' on the keypad gives no response as if the KeyPress event is not fired. I expected the same nKeyCode values with a nShiftAltCtrl of 2. Why would this be? Are these special key combinations? Is this expected behavior, a bug, feature :-) or am I missing something?
>
>Thanks,
>Bill
Just a SWAG...
Are you using, or have you ever installed anything like Accessibility Options or MouseKeys?
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up