Is there a way to detect that the key pressed was on the numeric keypad? A hook works fine IF THE NUMLOCK IS ON but if it is OFF I get the same virtual-key code as the standard keypad.
Example
If the Numeric Keypad 0/Ins key is pressed with NumLock ON I get a key code of VK_NUMPAD0 ... Just what you would expect. But,if the Numeric Keypad 0/Ins key is pressed with NumLock OFF I get a key code of VK_INSERT.
I have tried several different keyboards with the same result.
Example
If the Numeric Keypad 0/Ins key is pressed with NumLock ON I get a key code of VK_NUMPAD0 ... Just what you would expect. But,if the Numeric Keypad 0/Ins key is pressed with NumLock OFF I get a key code of VK_INSERT.
I have tried several different keyboards with the same result.
Comment