Control Settings, MFC ActiveX Control Wizard

Insert "Search Results" summary here.

Specify the names for the control class and property page class, the type names, and type identifiers for your control. With the exception of Short name, all other fields can be edited independently. If you change the text for Short name, the change is reflected in the names of all other fields in this page. This naming behavior is designed to make all the names easily identifiable for you as you develop your control.

  • Short name
    Provide an abbreviated name for the control. By default, this name is based on the project name you provided in the New Project Dialog Box. The name you provide determines the class names, the type names, and the type identifiers, unless you change those fields individually.

  • Control class name
    By default, the name of the control class is based on the short name, with C as a prefix and Ctrl as a suffix. For example, if your control's short name is Price, the control class name is CPriceCtrl.

  • Control .h file
    By default, the name of the header file is based on the short name, with Ctrl as a suffix and .h as the file extension. For example, if your control's short name is Price, the header file name is PriceCtrl.h. The name in this field should match the control class name.

  • Control .cpp file
    By default, the name of the .cpp file is based on the short name, with Ctrl as a suffix and .cpp as the file extension. For example, if your control's short name is Price, the .cpp file name is PriceCtrl.cpp. The name in this field should match the header name.

  • Control type name
    By default, the name of the control type is based on the short name, followed by Control. For example, if your control's short name is Price, the control class type name is Price Control. If you change the value in this field, make sure the name indicates an inheritance.