WindowHelper::CreateChildElement Method (Guid, UInt32, IVsUISimpleDataSource, IntPtr)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Creates and displays a UI element as a modeless child window.

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assemblies:   Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

public:
static IntPtr CreateChildElement(
	Guid factory, 
	unsigned int elementId, 
	IVsUISimpleDataSource^ dataSource, 
	IntPtr parent
)

Parameters

factory
Type: System::Guid

The GUID of the UI factory that should create the UI element.

elementId
Type: System::UInt32

The ID of the UI element to be created and displayed.

dataSource
Type: Microsoft.VisualStudio.Shell.Interop::IVsUISimpleDataSource

The data source.

parent
Type: System::IntPtr

The parent window handle.

Return Value

Type: System::IntPtr
The handle of the child window.

Show: