For Programmers: Free Programming Magazines  


Home > Archive > VC Language > June 2005 > problem with VK key codes in win2k









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author problem with VK key codes in win2k
John Ng

2005-06-08, 9:00 am

Hi everyone,
I would appreciate if anyone of you can help to enlighten me on this. I
have a remote controller which plugs into the USB port and any buttons
pressed on the remote control will generate a keyboard sequence such as
CTRL+F11 for instance. I wrote a program to intercept the keyboard sequence
generated and send it to my child program, so it would appear like the
remote control is "talking" to my child program. the problem I face now is
that it works perfectly in winxp, both home adn professional, and even on
Win2003. But the same program fail on win2k series. Basically, the commands
coming in from the USB port would not contain the function key code, which
is te VK key code. it has the comb key code such as CTRL, SHIFT etc. To
prevent messing up other unrelated program from being affected, I used
F13-F24 for the VK key code. so what comes in is of the form, CTRL+F13,
SHIFT+F16 etc. Has anyone faced this before ? please enlughten me on this, I
am at my wits end.



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com