How to inject/simulate mouse clicks?

In the meantime I was experimenting with the Windows-internal “SendInput” function. Still have some issues there, but seems like it’s possible that way as well.

Thanks, I’ll look into the classes you mentioned.