How to: Host An Editor in Another Editor
In Visual Studio you can host one editor inside another by specifying the hosting window as a parent window. To do so, set the parameters VSFPROPID_ParentHwnd and VSFPROPID_ParentFrame on the child window frame.
To set up the window frame to host an editor
Designate an editor as a hosted editor by creating a child window pane.
This pane is where the editor's text will go.
Create the hosting editor using the OpenStandardEditor or OpenSpecificEditor method.
Set the VSFPROPID_ParentHwnd and VSFPROPID_ParentFrame properties in the window frame implementation of the hosted editor by passing these properties as the parameters to the SetProperty method, respectively.
If you need to retrieve these parameters, pass these properties to the GetProperty method.
Call the Show method for the contained editor.
The editor appears in the hosted pane of the containing editor.
Robust Programming
The Application Designer in the Visual Studio Team Edition for Architects is an example of an editor window frame hosting another editor. The Application Designer hosts other designers in its right-hand pane. A designer panel (or Properties page) for each of the contained designers is added to the containing window frame.