>>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?
Interesting. No Accessibility Options but I did have some MouseKeys enabled. In this case they were only enabled with NumLock Off and I was testing with NumLock On. Just for grins I turned MouseKeys off and retested with NumLock On and Off with same results. I get response for '-', '+', 'Shift -', 'Shift +' but nothing for 'Ctrl -' or 'Ctrl +'.
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.