How to use WM_Close in C#?

Can anyone provide me an example of how to use WM_CLOSE to close a small application like Notepad?
srk1982Asked:
Who is Participating?
 
srk1982Author Commented:
0
 
srk1982Author Commented:
Hi drypz,

   I could not understand the solution properly.
   where is the parameters passed ? and wat shud be passed in my case, say for example notepad.exe.

  Also please tell me, what are the stuffs needed to close a application, like....
  applicationid, window name and something else like that.

  please make me clear on that. Thanks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.