Real-World Scenarios: Window’s Termination Functionality
There are as many different applications in the world as there are application developers. Each of these applications performs different functions; many perform multiple functions. Applications can open files, work with databases, adjust registry settings, and call remote procedures. With all of this activity, it is important to make sure your application closes as well as it opens. To ensure an application closes gracefully, many developers modify the code that terminates the application window.