Udostępnij za pośrednictwem


Inserting the Control into a Visual C++ Application

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

Reference

Using ActiveX Controls