One day, NedMetric Solutions BV wrote:
Hi,
A customer requested to permanently activate the red Function key on a HHP
Dolphin 9550. This key behaves like a SHIFT key for function keys. They
have to make a lot of key entries:
<snippedy-doo-dah>
Hi Marcel,
Are you talking about some arbitrary application that responds to the
"red-key"? Or, is it your own software that processes the "red-key"? If
it's the former, then if you're on Windows, you'll probably need to do a
bit of P/Invoke to set the state of the "red-key" to 'on'. Also, if this
is the case, then you'll need the key-code for the "red-key".
If it's the latter, then you can simply add some logic to your application
to decide whether or not to listen to the "red-key".
I'm going to assume you need to toggle it for some arbitrary application, in
which case, you should take a look at the following Windows API call:
UINT SendInput ( UINT nInputs, LPINPUT pInputs, int cbSize );
(URL may wrap)
http://msdn.microsoft.com/library/de.../sendinput.asp
--
Tom Spink