Step 3, ActiveX Options

OverviewsHow Do IDetails

Feature Only in Professional and Enterprise Editions   Creating a Custom AppWizard is supported only in Visual C++ Professional and Enterprise Editions. For more information, see .

Only one of the ActiveX macros can be in the dictionary.

Macro Type Description
CONTAINER BOOL Whether the standard MFC AppWizard user or custom AppWizard user has specified that the application is only a container.
FULL_SERVER BOOL Whether the standard MFC AppWizard user or custom AppWizard user has specified that the application is a full-server.
MINI_SERVER BOOL Whether the standard MFC AppWizard user or custom AppWizard user has specified that the application is a mini-server.
CONTAINER_SERVER BOOL Whether the standard MFC AppWizard user or custom AppWizard user has specified that the application is a container-server.
ACTIVE_DOC_SERVER BOOL Whether the standard MFC AppWizard user or custom AppWizard user has specified that the application is an Active document server.

More than one of the following macros may be set.

Macro Type Description
APP_CLSID text Struct form of the application's globally unique identifier (GUID). Only used if the user has selected ActiveX support.
APP_CLSID_REG text Registration form of the application's GUID. Only used if the user has selected ActiveX support.
APP_CLSID_MACRO text Macro form of the application’s GUID. Only used if the user has selected Automation support for a dialog-based application.
AUTOMATION BOOL Whether the standard MFC AppWizard user or custom AppWizard user has selected Automation support.
COMPFILE BOOL Whether the AppWizard user has selected compound file support.
DISPIID_CLSID_ODL text ODL form of the dispinterface GUID. Only used if the user has selected Automation support.
LIB_CLSID_ODL text ODL form of the library's GUID. Only used if the user has selected Automation support.
OLECTL BOOL Whether the application supports using ActiveX Controls.

See Also   Standard AppWizard Macros, The Dictionary, CCustomAppwiz::ProcessTemplate, CCustomAppwiz::PostProcessTemplate, How Macros Get Their Values