Hi,
This must have been discussed before, but I couldn't find anything with the Search. I have MP2002 Control on a form. Whenever I show 2 modeless instances of the form, the focus/zorder goes funny - clicking on one form brings the other forward. This does not happen when I remove the OCXes, so it must be a control code bug? Here's my code: (Click on Cammand1 twice to open two instances of Form2 (with MapPoint OCX). Then try to click any of the instances. see what I mean? HELP!
Form1:
Option Explicit
Private Sub Command1_Click()
Dim frm As Form2
Set frm = New Form2
frm.Show vbModeless
End Sub
Form2:
Option Explicit
Private Sub Form_Initialize()
MapViewer.NewMap geoMapEurope
End Sub