I want to hide an external application, ie. not the current application. I want to give the title of the application and it will be hidden. How can I do this programmatically?
+4
A:
In general terms, you could call FindWindow
to get the HWND of the window in question, then ShowWindow
with SW_HIDE
to hide the window.
Greg Hewgill
2009-06-11 10:24:59
You beat me to it =:)
Simon P Stevens
2009-06-11 10:26:58
+3
A:
You need to get a handle to the window (which you can do using FindWindow()). Then you need to call ShowWindow() and set it's shown state to hidden.
Simon P Stevens
2009-06-11 10:26:01