Sizing and positioning a form

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.
 
R

Ron Weiner

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.
 

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

Similar Threads


Top