共用方式為


IBuilderWizardManager Interface

Definition

Retrieves and manages builders for specific properties and components. A builder generates code for an item.

public interface class IBuilderWizardManager
public interface class IBuilderWizardManager
__interface IBuilderWizardManager
[System.Runtime.InteropServices.Guid("95FC88C3-9FCB-11CF-A405-00AA00C00940")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IBuilderWizardManager
[<System.Runtime.InteropServices.Guid("95FC88C3-9FCB-11CF-A405-00AA00C00940")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IBuilderWizardManager = interface
Public Interface IBuilderWizardManager
Attributes

Remarks

Use the SBuilderWizardManager shell service (SID_SBuilderWizardManager) to get an instance of the interface.

This interface has methods that accept parameters called Category IDs (CATID). The CATID's are not defined in the Interop assembly which defines the interface. Managed code callers will have to create their own managed types to contain the CATID values.

Here are the CATIDs provided by the platform (as defined in ocdesign.idl):

CATID Constant GUID Description
CATID_ColorBuilder {73CEF3DA-AE85-11cf-A406-00AA00C00940} ActiveX control color builder.
CATID_FontBuilder {73CEF3DB-AE85-11cf-A406-00AA00C00940} ActiveX control font builder.
CATID_HTMLBuilder {73CEF3D4-AE85-11cf-A406-00AA00C00940} HTML builder.
CATID_ObjectBuilder {73CEF3D5-AE85-11cf-A406-00AA00C00940} ActiveX control builder.
CATID_PictureBuilder {73CEF3E0-AE85-11cf-A406-00AA00C00940} ActiveX control picture builder.
CATID_PropertyBuilder {73CEF3D6-AE85-11cf-A406-00AA00C00940} ActiveX control property builder.
CATID_ScriptBuilder {73CEF3DF-AE85-11cf-A406-00AA00C00940} Script builder.
CATID_URLBuilder {73CEF3D9-AE85-11cf-A406-00AA00C00940} URL builder.

For the signatures of each type of builder, see the ocdesign.idl file.

Methods

DoesBuilderExist(Guid)

Verifies existence of a builder given a builder CLSID, or component category identifier (CATID) such as CATID_PropertyBuilder.

EnableModeless(Int32)

Sets builder dialogs to modeless or modal.

GetBuilder(Guid, UInt32, IntPtr, Object, IntPtr, Guid, Object)

Requests a builder by CLSID or component category ID (CATID).

MapBuilderCATIDToCLSID(Guid, UInt32, IntPtr, Guid)

Returns the CLSID of a specific builder given a component category ID (CATID).

MapObjectToBuilderCLSID(Guid, UInt32, IntPtr, Guid)

Returns the CLSID of a builder for an OLE object given the object's CLSID.

Applies to