how to disable close button on form in vc++ .net

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi everyone

I am new to VC++.NET, however, I have to implement this project in vc++.net.

Here is the trouble I am facing. I wanna disable the red close button at the
right upper corner of a vc++.net form. How to do this?

YOur help is greatly appreciated!
 
There are three properties on System.Windows.Forms.Form class as follows...
MinimizeBox: (true/ false), MaximizeBox: (true/ false), ControlBox: (true/
false). check these properties.
 
Back
Top