Anyone know how to simulate holding down a CTRL key in C++. I'm using Windows XP.
Thanks

Recommended Answers

All 2 Replies

You could use an autoit script and call that from C++ using the system() or one of the exec() functions. AutoIt lookes very capable. Unfortunately they don't provide source code, but it is free.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.