How would one use SendMessage() or PostMessage() function to close an application, given that the appropriate window handle is retrieved? Thanks in advance.
+1
A:
Call the PostQuitMessage function which will post a WM_QUIT message for you.
Stephen Nutt
2009-08-12 22:55:05
How does the application know which app to close (I don't see a HWND parameter in this function)?
stanigator
2009-08-12 23:22:59