Solution A: before showing the child, set its frame to the appropriate position in the middle. If the user moves the main window, adjust the child as well.
Solution B: make the child window with the [parentWindow addChildWindow:childWindow ordered: NSWindowAbove]
; called