Link to home
Start Free TrialLog in
Avatar of huji
hujiFlag for United States of America

asked on

MDI form questions

150 points are given to the answer if each of these related questions:

1) I have an About form, I want to always appear in the center of the MDI parent form, and as long as it is visible, I want the other forms to not be clickable (Just like the way you can't focus to the main window of Word when you have a dialog box open.) Is this possible?
2) I have a menu item in the parent form, which calls Show() method of one of the child forms. I want to add a functionality, so that, when that menu item is clicked and the child form is minimized, it restores the child window.
Avatar of huji
huji
Flag of United States of America image

ASKER

I found the answer to the second part. all 300 points will go to the first one.
ASKER CERTIFIED SOLUTION
Avatar of Kinger247
Kinger247

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Fernando Soto
The complete answer for question 1 is

        Dim About As New frmAbout
        About StartPosition = FormStartPosition.CenterParent
        About .ShowDialog()

Fernando
Sorry forget a dot and had a extra space in my last post.

        Dim About As New frmAbout
        About.StartPosition = FormStartPosition.CenterParent
        About.ShowDialog()

Fernando
Avatar of huji

ASKER

Thanks to both, and I had to give the points to the faster answer. Please follow me here:

https://www.experts-exchange.com/questions/22050596/MDI-Child-always-maximized.html