IVsUIShell.EnableModeless Method (Int32)
Visual Studio 2015
Enables or disables a frame's modeless dialog box.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- fEnable
-
Type:
System.Int32
[in] true when exiting a modal state. false when entering a modal state.
Return Value
Type: System.Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsUIShell::EnableModeless(
[in] BOOL fEnable
);
This method is used by any VSPackage implementer that needs to display a modal dialog and that is not already involved in an in-place relationship (for example, IVsWindowPane implementers or global command handlers).
This method is identical to the EnableModeless method.
Show: