Joe,
You might want to use the SendInput API function through the
P/Invoke layer instead. This will fill in the gaps that SendKeys
has.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
I have been searching all over for how to use SendKeys to send
Keys.RControlKey.
I've tried all manner of byte conversions and just can't get it to
work.
Pity there is no {RCONTROL} defined for me!
Any help is very much appreciated.
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?