WindowHelper::ShowModal Method (Window, IntPtr)

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

Displays a WPF window using a Win32 parent 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 int ShowModal(
	Window^ window, 
	IntPtr parent
)

Parameters

window
Type: System.Windows::Window

The dialog to display.

parent
Type: System::IntPtr

The parent window handle.

Return Value

Type: System::Int32
The dialog result.

Show: