By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,571 Members | 1,659 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,571 IT Pros & Developers. It's quick & easy.

Handheld device

P: n/a
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:

RED KEY - F1
RED KEY - F2
RED KEY - F3

.... and so on...

It would be very desirable if the RED KEY could be permanently 'pressed',
but it also has to be possible to deactivate ('unpress') the RED KEY.

Does anybody know how to do this using VB.NET?

Regards,

Marcel
Nov 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Define a local variable that means that the key is pressed for the purposes
of your application. The user can then do something to make your code set
the variable to true.

Then, in the rest of the code, if the user happened to press the red key, or
if your variable is set to True, then act as if it is true.

"NedMetric Solutions BV" <m.*****@nedmetric-solutions.nl> wrote in message
news:43***********************@news.xs4all.nl...
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:

RED KEY - F1
RED KEY - F2
RED KEY - F3

... and so on...

It would be very desirable if the RED KEY could be permanently 'pressed',
but it also has to be possible to deactivate ('unpress') the RED KEY.

Does anybody know how to do this using VB.NET?

Regards,

Marcel

Nov 21 '05 #2

P: n/a
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
Nov 21 '05 #3

P: n/a
Hi Marina,

Could you give me a short code sample?

Best regards,

Marcel

"Marina" <so*****@nospam.com> wrote in message
news:ey**************@TK2MSFTNGP15.phx.gbl...
Define a local variable that means that the key is pressed for the
purposes of your application. The user can then do something to make your
code set the variable to true.

Then, in the rest of the code, if the user happened to press the red key,
or if your variable is set to True, then act as if it is true.

"NedMetric Solutions BV" <m.*****@nedmetric-solutions.nl> wrote in message
news:43***********************@news.xs4all.nl...
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:

RED KEY - F1
RED KEY - F2
RED KEY - F3

... and so on...

It would be very desirable if the RED KEY could be permanently 'pressed',
but it also has to be possible to deactivate ('unpress') the RED KEY.

Does anybody know how to do this using VB.NET?

Regards,

Marcel


Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.