If Windows-B-form is in the foreground and Window-A-form is in the background, the only way I can see to bring Window-A-form to the foreground is to click on its title bar. But in VB-6 apps, you could click anywhere on Window-A form to bring it to the foreground. Is there a way to do this in vb.net
Thanks for any help.
Suzanne Haig

Accessing overlapping forms in a mdi-app
Student of IT
David:
I think I have to do more research on this.
In the process of slimming down my app in order to send it, I discovered the problem. I have a collection of objects that keep info about open forms. Before opening a form I create an object for the collection that has info on the form (like its name and some category info) and then remove this object when the form is closed. For some reason having this code causes the problem. I am not sure yet whether it the procedure itself that causes the problem or the fact that it is placed after I create the form object:
see below:
f = New frmFunds("FundID", "Fund", False, True)
strChildFormDescriptor = "frmFunds"
If Not BAS_02_InitializeChildForm(Me, f, U_APP_RULE_CODES_FUNDS, lngRecID, "FRM_MAIN", strChildFormDescriptor, msg) Then
MsgBox("Could not initialize the Fund form control record" & vbCr & vbCr & msg)
Exit Sub End If f.MdiParent = Mef.Show()
if I remove the "if not bas_02... then there is no problem in switching the forms.
Thanks for helping me get started on this.
Hugewally
RagtimeCowboy
I just created a quick test and I can't reproduce this. Clicking on anywhere within the form (ie background or other controls) brings it to the foreground.
Can you post a small sample that reproduces what you are experiecing