Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Activate MDI Child Form

Status
Not open for further replies.

MikeWilliams

Programmer
Apr 9, 2002
4
GB
As you know in a VB6 MDI Application, you can create a window list in the MDI form's menu. When a form is chosen it is activated, being restored when if it was previously activated.

I can't get the same behaviour in .Net, when activated from the Window List the form state is not restored. If I add code to the MDI form's MdiChildActivate event then with two forms one minimized, when the second is minimized the first springs up, which looks naff (because MdiChildActivate fires)

What I want is VB6 behaviour where the window list restores a minimized form, but this does not happen when another form is minimized.

Is there any way to tell the MDI form that the window list is to restore the chosen form, as in VB6.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top