Hello can anybody make me a "simulating the enter button"
I want a little program that i can open and all it has on it is a enter button which works the same as the "Enter Key"
A Bit like the On-Screen Keyboard but just an enter button.
Can anybody help me.
It is for windows vista. I also would like it to ork on windows XP as well, But if not just windows Vista.
Thanks, Invisible
[REQ] Enter Button
Started by InvisibleMan, Jan 24 2009 07:35 AM
1 reply to this topic
#1
Posted 24 January 2009 - 07:35 AM
|
|
|
#2
Posted 24 January 2009 - 12:26 PM
I'm going to quote something I found on a different forum in the hopes that it helps you.
Hopefully the documentation on the links listed here will be more than enough for your needs.
Quote
keybd_event will do that.
API: keybd_event Function ()
Code Sample: CodeProject: Keyboard Events Simulation using keybd_event() function. Free source code and programming help
For certain events (like powering off the device), you have to do a specific keybd_event sequence. For example:
keybd_event(VK_OFF, 0, 0, 0);
keybd_event(VK_OFF, 0, KEYEVENTF_KEYUP, 0);
This will turn off the device. Simply doing one of those events won't turn off the device. Most keys however, don't need specific action to work properly.
API: keybd_event Function ()
Code Sample: CodeProject: Keyboard Events Simulation using keybd_event() function. Free source code and programming help
For certain events (like powering off the device), you have to do a specific keybd_event sequence. For example:
keybd_event(VK_OFF, 0, 0, 0);
keybd_event(VK_OFF, 0, KEYEVENTF_KEYUP, 0);
This will turn off the device. Simply doing one of those events won't turn off the device. Most keys however, don't need specific action to work properly.
Hopefully the documentation on the links listed here will be more than enough for your needs.
Dave


Sign In
Create Account

Back to top









