Solved

How to use WM_Close in C#?

Posted on 2009-07-16
3
596 Views
Last Modified: 2013-12-17
Can anyone provide me an example of how to use WM_CLOSE to close a small application like Notepad?
0
Comment
Question by:srk1982
  • 2
3 Comments
 
LVL 13

Expert Comment

by:drypz
ID: 24867181
0
 

Author Comment

by:srk1982
ID: 24867278
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
 

Accepted Solution

by:
srk1982 earned 0 total points
ID: 24968152
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question