> In a dialog box procedure is there a way to determine if keyboard input is
> from the keypad or the arrow keys?
>
> I need to know if the input is from the main keyboard keys.
I think you can do this by monitoring the low level keyboard message while
they are sent to your app.
If I recall correctly, they have different scancodes.
The easiest way to test is to install a low level keyboard hook and watch
what is coming by when you press the different keys between which you want
to distinguish.
Mybe it is also possible by monitoring the window messages themselves with a
Message hook.
Have a look at SetWindowsHookEx
I think that is a good starting point.

Signature
Kind regards,
Bruno van Dooren
bruno_nos_pam_van_dooren@hotmail.com
Remove only "_nos_pam"
Frank - 31 Jan 2007 19:00 GMT
thanks
>> In a dialog box procedure is there a way to determine if keyboard input
>> is from the keypad or the arrow keys?
[quoted text clipped - 12 lines]
> Have a look at SetWindowsHookEx
> I think that is a good starting point.