Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IVsUIWin32Element.ShowModal Method

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,
	out 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.

Community Additions

ADD
Show:
© 2015 Microsoft