Hello all,
I've been using SendKeys in a program I am making but its really glitchy and does not work properly.

Is there an alternative way to simulate a key press within code?


Thanks in advance!

You have to look at WinAPI - SendMessage()

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.