tags:

views:

115

answers:

1

I want to simulate a mouse click in a video game that is minimized.

The video game I am doing this for allows macroing like this, so it's all good.

However, the game uses direct input so using PostMessage and SendMessage is not working.

A: 

Try using the SendInput API instead.

S.Skov