Double Click Windows Form Caption Bar

  • Thread starter Thread starter Axe
  • Start date Start date
A

Axe

If I set my form's ControlBox property to false then run the application and
double click on the caption bar, the entire form fully maximizes. If I then
set the max and min size on the form to the same value, then run the app and
double click the form, the form just moves to the upper left hand corner of
the screen.

How can I prevent this event from occurring?

Axe
 
* "Axe said:
If I set my form's ControlBox property to false then run the application and
double click on the caption bar, the entire form fully maximizes. If I then
set the max and min size on the form to the same value, then run the app and
double click the form, the form just moves to the upper left hand corner of
the screen.

Maybe setting the 'FormBorderStyle' to one of the fixed border styles
helps.
 
Back
Top