hi there.
i have a little problem.
in short terms my program activates another program's window
but at the moment that i send the message my programs stops running until i close the other programs window.

SendMessage(mphandle,WM_KEYDOWN,40194,65536); // 'j' key

any ideas how can i fix this? i want my program to continue running after the sendmessage without me having to close the opened window from the other program.
i think if i ignore the wm_activateapp messages i can achieve this ... but i dont know how to ignore them.
please help