
Signature
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com
On Feb 5, 5:23 pm, "Nicholas Paldino [.NET/C# MVP]"
<m...@spam.guard.caspershouse.com> wrote:
> Joe,
>
[quoted text clipped - 18 lines]
>
> > Joe
Nicholas,
I got that working, so I can do a few things I could not before, but
now I am running into the case where I want to send HOME, PAGE_DOWN,
etc. from the Insert/Delete/Home/End/Page Up/Page Down cluster, but
what is actually being sent is the equivalent keys from the numeric
keypad.
To be more specific, I am controlling a legacy terminal emulator
(BluVista), and it is interpreting VK_NEXT = PgDn (3 on the numeric
keypad) with NumLock off as "3". I need to be able to send Page Down
from the cluster to control the emulator properly.
Is there some twiddle in SendInput that tells it whether to send Page
Down or PgDn?
Joe
Ben Voigt [C++ MVP] - 06 Feb 2008 22:58 GMT
> On Feb 5, 5:23 pm, "Nicholas Paldino [.NET/C# MVP]"
> <m...@spam.guard.caspershouse.com> wrote:
[quoted text clipped - 37 lines]
> Is there some twiddle in SendInput that tells it whether to send Page
> Down or PgDn?
The KEYEVENTF_EXTENDEDKEY flag and/or the scan code, should differentiate
between them.
> Joe
Joe S - 07 Feb 2008 01:13 GMT
> > On Feb 5, 5:23 pm, "Nicholas Paldino [.NET/C# MVP]"
> > <m...@spam.guard.caspershouse.com> wrote:
[quoted text clipped - 46 lines]
>
> > Joe
That worked great. Thanks SO much to both of you for pointing me in
the right direction.
Joe
Ben Voigt [C++ MVP] - 07 Feb 2008 15:31 GMT
>>> On Feb 5, 5:23 pm, "Nicholas Paldino [.NET/C# MVP]"
>>> <m...@spam.guard.caspershouse.com> wrote:
[quoted text clipped - 51 lines]
>
> Joe
Comes from processing arrow keys using getch() a long long time ago.