Share via


IBuilderWizardManager.EnableModeless Method

Sets builder dialogs to modeless or modal.

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

Syntax

'Declaration
Function EnableModeless ( _
    fEnable As Integer _
) As Integer
int EnableModeless(
    int fEnable
)
int EnableModeless(
    [InAttribute] int fEnable
)
abstract EnableModeless : 
        fEnable:int -> int
function EnableModeless(
    fEnable : int
) : int

Parameters

  • fEnable
    Type: System.Int32

    [in] true to enable modeless dialogs; false otherwise.

Return Value

Type: System.Int32
Returns S_OK. This method does not fail.

Remarks

Builders returned by GetBuilder run as modal builders. The IBuilderWizardManager client is responsible for disabling the application prior to invoking the builder, and then re-enabling the application after the method returns. You can do this several ways:

.NET Framework Security

See Also

Reference

IBuilderWizardManager Interface

Microsoft.VisualStudio.Shell.Interop Namespace