Windows2::CreateLinkedWindowFrame Method (Window^, Window^, vsLinkedWindowType)

 

Creates a Window object and places two windows in it.

Namespace:   EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

Window^ CreateLinkedWindowFrame(
	Window^ Window1,
	Window^ Window2,
	vsLinkedWindowType Link
)

Parameters

Window1
Type: EnvDTE::Window^

Required. The first Window object to link to the other.

Window2
Type: EnvDTE::Window^

Required. The second Window object to link to the other.

Link
Type: EnvDTE::vsLinkedWindowType

Required. A vsLinkedWindowType constant indicating the way the windows should be joined.

Return Value

Type: EnvDTE::Window^

A Window object.

The order of the Window arguments determines the order of the linked windows. The two windows to be linked must be visible. If either window is hidden, you get an exception. You can use the Visible property to display windows.

This example links together the Output Window, the Command Window, and Solution Explorer. It then manipulates the width and height of these linked windows, and it finally undocks them all from the linked window frame.

No code example is currently available or this language may not be supported.
Return to top
Show: