G
Guest
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"); // поиÑк окна
:ostMessage(hwndFound,WM_COMMAND,IDYES,0);
How I can do something like this in C#?
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"); // поиÑк окна
:ostMessage(hwndFound,WM_COMMAND,IDYES,0);
How I can do something like this in C#?