Solved

How to use WM_Close in C#?

Posted on 2009-07-16
3
604 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

726 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