C# Corner
Tech
News
Videos
Forums
Trainings
Books
Live
More
Interviews
Events
Jobs
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Tags
No tag found
Content Filter
Articles
Videos
Blogs
Resources
News
Forums
Interviews
Complexity Level
Beginner
Intermediate
Advanced
Refine by Author
[Clear]
Mohan Kumar(1)
Chandra Hundigam(1)
Resources
No resource found
Find And Close The Window Using WIN API
Feb 01, 2008.
This article explains how to find and close the window using Win API. To find and close a window using the Windows API in a C# application, you can use the FindWindow function to locate the window by its title or class name, and then use the SendMessage function with the WM_SYSCOMMAND and SC_CLOSE parameters to send a close command to the window. Here's a step-by-step description.
Kill an Application with System Menu using C#
Nov 20, 2002.
This article uses the Windows API’s to kill the application running under windows environment.