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
 
Back
Top