Application Settings, MFC ActiveX Control Wizard
Use this page of the MFC ActiveX Control Wizard to design and add basic features to a new MFC ActiveX project. These settings apply to the application itself and not to any specific feature or element of the control.
Run-time license
Select this option to generate a user license file to distribute with the control. The license is a text file, projname.lic. This file must be in the same directory as the control's DLL to allow an instance of the control to be created in a design-time environment. You usually distribute this file with your control, but your customers do not distribute it.Generate help files
Select this option to generate stubbed help files and configure the project to include help for your control. A default project, created without this option, generates only an About box that is displayed when the user right clicks the control, uses F1, or clicks Help on the control's container.Note
How help is displayed depends on how your control interacts with its container. If you include help with your container, you must handle messages between the control and the container to display the help appropriately. See Adding HTML Help Context-Sensitive Help to an Existing MFC Application and Copying the Help Message Map Commands for more information.
When you generate help files using the wizard, your project includes the following:
The file .vcxproj contains code to build and configure the help file when the project is built.
The file projnamePropPage.cpp file includes a SetHelpInfo function in the constructor.
The file projname.hpj, is the help project file used by the help compiler to create the ActiveX control's help file. The .hpj file is a text file containing the information about building your help file and the paths to the additional files (for example, bitmaps) the help file includes.
The project includes the HLP directory to contain the project help bitmap files and the help topic file (projname.rtf). This help topic file contains the standard help topics for the common properties, events, and methods supported by many ActiveX controls. You can edit the .rtf file to add or remove specific help topics.