It should be noticed that, due to the PM programming interface, in the current splitpane implementation, the child panes are not real child windows but a sort of virtual ones. They are just splitpane siblings whose position, size and visibility is controlled by the splitpane as if it were their real parent, so they must be created separately and then a PM message must be sent to the splitpane to notify it the handles of the sibling windows it must control.