How to disabled maximization button

  • Thread starter Thread starter Martin
  • Start date Start date
M

Martin

Hi all, i've got one beginner question. Anyone knows how to disabled windows
maximization button in heading? It's main windows, so I don't want to use
FormBorderStyle.FixedToolWindow. Thanks for hint...
 
Do you mean on the title bar of a form.

If so then set the forms MaximizeBox property to false by adding

this.MaximizeBox = false;

I think it is in the properties panel of the form so you can just
select it at design time.
 

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