it's okay, i figured it out from a solution i had for someone else sometime
ago. (message # 2379)
i have to issue a RUNMENUCOMMAND 621 (Window, View window 2 - the new
browser window)
does anyone know WHY things go wonky until you issue a VIEW WINDOW command?
ash
-----Original Message-----
From: Simmonds, Ashley (PTB)
Sent: Wednesday, 25 September 2002 1:19 PM
To: 'Mapinfo List (E-mail) ' (E-mail)
Subject: reparent browser
hiya,
i'm getting erratic results from this and don't know why. my maps reparent
just fine, but now i want to reparent the browser window into another form
in my application. it does actually reparent it, however sometimes it does
it just as i want, other times it will sit there and hang for ages. i
thought i had a problem similar to this beat a couple months ago, but now i
can't remember what i did.
i do the set application window to my app and stuff for the map to a
subform, then later on the user wants a browser, so i...
.do "Set Next Document Parent " & Me.frmGPSSubBrowser.Form.Hwnd & "
Style 1"
.do "browse * from MyTable"
then everything hangs until i switch to another application and back again,
then everything's fine.
but then sometimes the browser doesn't display at all...??
gramercy
ash