How can I simulate the mouse click in a directx application? mouse_event and PostMessage with WM_LBUTTONDOWN don't work...
so it must be something to do with the DirectInput
I haven't found out nothing useful with google, so you may be knowing the answer...
thanks in advance
//update
I wrote the text wrongly, what I want is to make the directx app believe that the mouse has just clicked, but without effectively using the mouse and without using SendInput or mouse_event, which need that the window must be focused