Click here to Skip to main content
15,891,529 members
Articles / Desktop Programming / MFC

Disable System Close Button on a Console Application

Rate me:
Please Sign up or sign in to vote.
2.81/5 (23 votes)
6 Dec 2003CPOL 104.4K   3.4K   18  
This code is a simple way to disable the close button on a Windows Console Application. It can also be used to disable any of the system menu buttons

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Systems / Hardware Administrator
United States United States
Teaching myself Microsoft technologies after initially learning from open source mainly linux/c.
Currently administer a small network of approx. 20 clients. The company I work for has switch to a different more "modern?" dispatch/scheduling solution. I feel all solutions we've found are unsuitable and so I'd like to start my own solution from scratch.


Comments and Discussions