Double click on Form Title bar

  • Thread starter Thread starter kiran
  • Start date Start date
K

kiran

I create a Modal Dialog in C#. and opening with Form.ShowDialog() function.
When I double click on the title bar of the form , it's windows state
becomes Maximized that mean it's size is increazing, but the form is a Modal
Dailog , it should not maximized. How can I prevent from maximize when I
double click on title bar of the form.
Regards
kiran
 
changed the property 'FormBorderStyle' on the winform to 'FixedDialog', the
property 'MaximumBox' to 'False' and the property 'MinimizeBox' to 'False'.

HTH

Ollie Riches
 

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