Sizing and positioning a form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

My application runs on a machine using dual monitors with one form displayed on one screen and another form displayed on the other screen. Is it possible to size and position the forms so that they return to their original positions and sizes after being minimized then maximized.
 
Sure, but you may have to put some code to move and size the forms in the
Form_Resize() event. This event fires when the form is minimized/maximized.
Look in help at the MoveSize function for the details. Also depending on the
Video card or cards and OS being used you may discover that not all Dual
Monitor systems are created equal.

Ron W
prokofiev said:
My application runs on a machine using dual monitors with one form
displayed on one screen and another form displayed on the other screen. Is
it possible to size and position the forms so that they return to their
original positions and sizes after being minimized then maximized.
 
Back
Top