aloha Mark,

it depends on what object you've reparented the MapInfo window to.

in VB you can reparent to a Picture thing, but in VBA (Access) Pictures
don't have a "hWnd" property, so you have to reparent to a subform.

if you think you're doing everything right, add this line of code after
opening stuff...
        MIobj.RunMenuCommand 620

it's a bizarre little thing, and i only came across it by mistake oneday.
it's esentially the same as toolbar clicking "WINDOW" then "1 - WhateverMap"
to make it active.

this is all assuming "integrated mapping" means within the program itself,
ie. reparented.  if not, setting "MIobj.Visible = True" should do it.

ash

-----Original Message-----
From: Mark Williamson [mailto:[EMAIL PROTECTED]]
Sent: Friday, 29 November 2002 11:12 PM
To: [EMAIL PROTECTED]
Subject: MI-L OLE integrated mapping


Hi

Im using integrated mapping in my application. I want to 
enable the user to run  a mapbasic program (no problem) 
but I want mapinfo to become visible when it runs the mbx.

I think the trouble is that mapinfo is running in the background
all the time and I cant finda way of making it visible? 

Any suggestions?
How would I make it disapear also.

Thanks
Mark

---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 4347

Reply via email to