Click here to Skip to main content
15,887,898 members
Articles / Programming Languages / C#

Disable Close Button from Title bar of a Window

Rate me:
Please Sign up or sign in to vote.
4.69/5 (4 votes)
8 Dec 2009CPOL 12.5K   3  
we can also override the CreateParams Code:[I did not write this code, but i found it a while back.]Visual C# .NET-------------------------------------------------#region "Disable the 'X'"protected override CreateParams CreateParams { get { CreateParams cp =...

Views

Daily Counts

License

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


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions