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.
 

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