Solved

How to use WM_Close in C#?

Posted on 2009-07-16
3
591 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

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!
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

706 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now