Windows CE ATL Object Wizard

You can use the Windows CE ATL Object Wizard to create ActiveX controls without having to build the controls for Win32. Windows CE ActiveX Controls are registered in the emulation registry. Therefore, emulation must be installed and running before you can create Windows CE ActiveX controls.

    To create a new Windows CE ActiveX control

  1. On the Visual Studio Insert menu, click New ATL Object.
  2. In the ATL Object Wizard, select the object, control, or dialog box you want to create.
  3. Click Next.
  4. In the ATL Object Wizard Properties dialog box, edit the names, properties, and attributes of your new Windows CE ActiveX control.
  5. Click OK.

    To add a registered Windows CE ActiveX Control to your project

  1. On the Visual Studio Project menu, point to Add To Project and click Components and Controls.
  2. In the Components and Controls Gallery dialog box, double-click the Registered WCE ActiveX Controls tab.
  3. Click the ActiveX Control you want to add to your project. The name of the control will appear in the File name field.
  4. Click Insert.