[DllImport("user32.dll")]
static extern IntPtr SetParent(IntPtr hWndChild, IntPtr hWndNewParent);
Declare Auto Function FindWindow Lib "user32" (ByVal lpClassName As String, _
ByVal lpWindowName As String) As IntPtr
None.
None.
Use this to create forms and then place child windows on it.
SetParent(FindWindow(vbnullstring,"notepad.exe"),me.handle)
MDIParent and MDIChild do work for interforms.