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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top