Solved

How to use WM_Close in C#?

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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

734 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