Minimizing and Restoring Multiple Forms in VB5
Posted on 1998-06-25
My progam starts with a form "frmMain", then opens and closes many other forms as it runs. However the "frmMain" form always stays on the screen as sort of a visible background object. At any one time, several of these forms may be shown in the Win 95 Status Bar at the bottom of the screen.
My question is this:
The only form with a Minimize Button in the "frmMain". However when a user clicks this button I want ALL the open forms in my VB5 application to be minimized also. As it stands now, when I minimize the "frmMain" form, the other open forms stay visible on the screen, superimposed on whatever other applications windows the user has previously opened. This is messy. The user expects them all to disappear.
To Summarize - when I click the Minimize button on the Main form I want all the other open forms to minimize also. And when I restore the Main form once again I want all the other forms to restore also.