First I must appologise, i posted in the wrong dll thread, This shouyld have gone to the FormExDesktop thread...
I have solved both my problems, thanks to Agraham...
The 1st was solved by making my form2 a FormExDessktop control, and pass its ref to the "Main" FormExDesktop, thus making it the parent...
To solve the 2nd, Agraham sugested....
I haven't tried this but you should be able to set the WindowState property with the Door library
Obj1.Value = FormExChild.ControlRef
Obj1.SetProperty("WindowState", "Maximized") ' Note the American spelling of Maximised
or
Obj1.SetProperty("WindowState", 2)
Well, after some thought, I tryed the already existing "WindowState" property from FormExDesktop, and set it to 2, and it worked, no Door dll needed..
Thanks Andrew, keep up with the excellent work...and don't forget to vote for the Member EREL to get he's medal!!!