IBuilderWizardManager::EnableModeless Method (Int32)
Sets builder dialogs to modeless or modal.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Parameters
- fEnable
-
Type:
System::Int32
[in] true to enable modeless dialogs; false otherwise.
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:
If the client is internal to the application implementing IBuilderWizardManager, the client can use the private mechanisms of the application.
If the client is a standard in-place OLE object, then it can call the EnableModeless method of the IOleInPlaceFrame interface.
If the client is registered with IOleComponentManager it can use the OnComponentEnterState and FOnComponentExitState methods of the IOleComponentManager interface to manage mode.
If the client is not an in-place object and has no other way to disable the application, it can use the EnableModeless method.