IVsUIWin32Element::ShowModal Method (IntPtr, Int32)

 

Show the window as a modal dialog box.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

int ShowModal(
	IntPtr parent,
	[OutAttribute] int% pDlgResult
)

Parameters

parent
Type: System::IntPtr

[in] The HWND of the parent window.

pDlgResult
Type: System::Int32

[out] Location to return the dialog result.

Return Value

Type: System::Int32

Returns S_OK after the user closes the dialog.

Return to top
Show: