Re: How to detect numeric keypad

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Yes, you are right there, maybe this is going a bit too far, but on the other hand, surely
there must be a simple way to detect this situation and if there is you might as well correct it.
How come it is so difficult to detect that a press on the j key produces a 1 instead of a j?

RBS


"Jim Mack" <jmack@xxxxxxxxxxxxxxx> wrote in message news:e8SFEo43IHA.784@xxxxxxxxxxxxxxxxxxxxxxx
RB Smissaert wrote:
I have a login routine where I turn on numlock to avoid login
errors due to this not being turned on.
This makes sense on the great majority of machines where there is a
numeric keypad. It is no good though
on machines where this isn't present as it will make certain letter
keys (j, k, l etc.) come out as numbers.
So, how do I detect this situation? Had a good look on the net for
this, but so far not any solution and I am
sure there must be some simple code that will detect this.

I can't be any help, and I'm sure you won't be dissuaded, but this
seems to me a waste of time and unlikely, in the end, to make a good
difference.

If a login fails, just put up a message box explaining what might have
gone wrong (e.g. numlock off, capslock on etc). Doesn't Windows do
just that, so wouldn't users expect it?

People generally know how to log in, and if they don't they need to
learn. Holding hands might seem like a favor to the user, but you can
go too far. Of course there are different schools of thought on this
topic, but I've never been of the opinion that users are too dumb to
learn from mistakes.

--
Jim


.



Relevant Pages