Partager via


Inserting the Control into a Visual C++ Application

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Visual Studio 2017 Documentation. You can insert an ActiveX control into a dialog box from the toolbar or using the Insert ActiveX Control dialog box.

To insert an ActiveX control from the Toolbox

  1. Right-click an empty section of the Toolbox.

  2. On the shortcut menu, click Customize Toolbox, and then select the controls that you want.

  3. Drag controls to your dialog box in the Dialog editor.

To insert an ActiveX control from the Dialog editor

  1. Right-click the dialog box.

  2. On the shortcut menu, click Insert ActiveX Control.

    Note

    When you insert an ActiveX control from Insert ActiveX Control into a project, wrapper classes are not included in the project. You are responsible for creating a wrapper class to customize the control's functionality.

See Also

Using ActiveX Controls