Regards Mads Höffner
And please don't cross-post to so many news groups . . .
Leave the property to False and use the SetParent API
The code look something like this:
Private Sub xx_Click()
Static b As Boolean
If b Then
' MDI child
Call SetParent(Form1.hWnd, MDIForm1.hWnd)
Else
'On his own again (0 is the hWnd of the DeskTop)
Call SetParent(Form1.hWnd, 0)
End If
b = Not b
End Sub
just remember to set the parent of Form1 to 0 before closing the program
Rob
Mads Höffner <lae...@egmont-kol.dk> wrote in message
news:7k3cjj$1d3a$1...@news.net.uni-c.dk...
dem <g.b.re...@zap.a2000.nl> escreveu nas notícias de
mensagem:7k993b$ruk$1...@weber.a2000.nl...