|
-
December 18th, 2008, 07:59 PM
#1
Simulate a press of the cntrl key
What would be the easiest way to simulate pressing the control key in C++?
(make it press the button for you instead of having to manually press it on the keyboard)
-
December 19th, 2008, 11:01 AM
#2
Re: Simulate a press of the cntrl key
C++ or WinAPI?
C++, it would depend on the platform.
WinAPI, just send the WM_KEYDOWN message and fake out the app.
-Erik
-
December 19th, 2008, 12:08 PM
#3
Re: Simulate a press of the cntrl key
 Originally Posted by tofurocks
What would be the easiest way to simulate pressing the control key in C++?
(make it press the button for you instead of having to manually press it on the keyboard)
Look at this FAQ.
Cheers
-
December 19th, 2008, 07:19 PM
#4
Re: Simulate a press of the cntrl key
OMG thanks so much guys im making my friend an app and this will complete it
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|