although they are different scan code as most programmers know, some users expect short-cuts to be started by both ways..
Delphi's short cuts (and I think windows too), only works using the "normal" numeric key's and not the "numeric keypad" keys.
regards
andries
David Cornelius < dev%40corneliusconcepts.com">dev
corneliusconcepts.com> wrote: Andries,
Each key on a standard keyboard has a different scan code that is
immediately and continually sent by the keyboard to the computer while
pressed and stops when released. The keys along the top of the alphabetic
keys are, I suppose the "normal" numeric keys, while the numbers typically
found on the right-hand side in a grid are typically called the "numeric
keypad" keys. The numbers on that numeric keypad return different scan
codes than the ones along the top to enable the operating system or
application to respond differently if they so choose. For example, games
take great advantage of this to offer many more control options than would
be possible if they were limited only to the ASCII codes returned (the
actual alphanumeric character displayed on the keyboard itself). Plus, this
allows variable rate key repeat to be set at the software level.
Windows has several standard mappings to keys, but some keyboard
manufacturers like to add extra goodies to help sell their keyboard and put
extra iconic buttons along the top such as shopping, internet, sleep,
calculator, and so forth. These keys also return unique scan codes so that,
when the manufacturer's special drivers are installed, the additional
functionality can wow your friends--which of course are supposed to make
them want to run out and buy that nifty keyboard as well.
So, I guess there's no real "official difference" except that they return
different scan codes and can (but don't have to) be handled differently by
different programs.
David Cornelius
Cornelius Concepts, Inc.
http://corneliusconcepts.com
Software Development, Databases, Websites
________________________________
From: Andries Bos [mailto: andriesbos%40yahoo.com">andriesbos
yahoo.com]
Sent: Wednesday, October 04, 2006 11:43 PM
To: delphi-en%40yahoogroups.com">delphi-en
yahoogroups.com
Subject: [delphi-en] Using shortcuts and the nummeric keyboard
hello
nummeric shortcuts are only executed when you use the "notmal"
nummeric key's on top of your keyboard.
For example, linking an event to the Ctrl+ 0 will not fire if i (as a
user) uses the nummeric pad (right part ) of my keyboard. Technically,
I do know that they are different key's and that although the + on the
nummeric part will open a directory within the explorer, the + sign
above my = key will not;
What is the official explanation of the difference between the
"normal" nummeric key's and the nummeric key's of the nummeric part of
the keyboard?
regards
andries
---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.
[Non-text portions of this message have been removed]
.