I am having form that puts another form overlayed on top. At this time the first form is disabled, but visible partially underneath. When I display the MsgBox on the second form, my program overlies the first form over the second and then shows MsgBox on top of the first form. What I want is that the MsgBox is shown over the second form.

To sumarise, I have:

Form1 (underneath) --> SmallerForm2 (on top)

When SmallerForm2 displays Msgbox, I want:

Form1 (underneath) --> SmallerForm2 (on top) -->MsgBox (on top of SmallerForm2)

But, what I get instead is:

SmallerForm2 (underneath) --> Form1 (on top) -->MsgBox (on top of Form1)


Code in Form1:
---------------
'more than one station found, now we have to show it in the list

Form1.Enabled = False
SmallerForm2.Show

Code in SmallerForm2:
---------------------
'We must choose one entry from the list

If Module1.ListChoice = 0 Then
MsgBox "You must choose an entry from the list", vbOKOnly + vbExclamation, "Messagio"
End If

etc...

The Form1 comes on top of SmallerForm2 during the execution of MsgBox statement and once the user presses <OK>, it all returns in the right place, so obviously MsgBox does something to it. How do I stop it because I want SmallerForm2 visible underneath MsgBox.

Thanks.