Hello. I need send some commands to other window.
I did this before with VC++. So it work like this.
I found this window (for example cacl.exe have text â??Calculatorâ??) then get
handle of this window and then send some windows messages on this handle.
My old code looks like this
HWND hwndFound = ::FindWindow(NULL, " Calculator"); // поиÑ?к окна
::PostMessage(hwndFound,WM_COMMAND,IDYES,0);
How I can do something like this in C#?