01-29-2009 03:02 PM
I was trying to recreate a doskey emulator for an application we are doing. If your not familiar with doskey, I am trying to capture a history of previous commands that when the user pushes the up and down arrow keys, they are able to select through the previously entered commands.
I had to take I break but was wondering if someone on the forums could help me finish the implementation. I think I'm close but for the life of me can't figure out why the enter key has to be pressed twice for my history to populate. Among other little bugs:)
Regards,
-SS
01-29-2009 03:14 PM
01-29-2009 03:22 PM
Hi Simon,
it has been a while.
My tip: Don't use the scancode, this differs from keyboard to keyboard. Use the VKey value instead. What is scancode 28 meant to do?
Ton
01-30-2009 09:33 AM