Introduction
This program is a VERY simple one to demostrate how to disable the close button on a Windows Console App. When I was looking up how to do this, I failed to find anything to help me on the site save the forums.
In reality we simply need to call two separate functions GetSystemMenu()
and DeleteMenu()
. This same algorithm can be used to disable/enable ANY of the system menu buttons.
The entry point for YOUR code is in the else
block after testing for MFC failure.
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.