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
-
On the Visual Studio Insert menu, click New ATL Object.
-
In the ATL Object Wizard, select the object, control, or dialog box you want to create.
-
Click Next.
-
In the ATL Object Wizard Properties dialog box, edit the names, properties, and attributes of your new Windows CE ActiveX control.
-
Click OK.
To add a registered Windows CE ActiveX Control to your project
-
On the Visual Studio Project menu, point to Add To Project and click Components and Controls.
-
In the Components and Controls Gallery dialog box, double-click the Registered WCE ActiveX Controls tab.
-
Click the ActiveX Control you want to add to your project. The name of the control will appear in the File name field.
-
Click Insert.