A Tutorial on Windows CE 5.0
- 1). Launch Platform Builder on your development workstation. Click the Tools menu, then choose CEC Editor. This is required for creating a Catalog item. You should now see the CEC Editor window opening a new Catalog item (.cec) file.
- 2). Choose Group from the Insert menu in the CEC Editor. Type "My Catalog Item Group" in the Name box. Put a description for your project in the Description box, such as "This is my sample Catalog item group." Type "\New Item" in the Group box and choose "OK." This enables the Group box to determine where your Catalog item will display.
- 3). Choose "Save As" from the File menu, then navigate to "%_WINCEROOT%\Public\Common\Oak\Catalog\Cec" directory. Type "MyItem" in the File name box and then choose "Save." This will save the currently open file as MyItem.cec file, that contains the information you entered for your Catalog item. Once saved, you can now edit your new .cec file to add more information about your Catalog item.
- 4). Add implementation information to your .cec file to define its item type. Navigate to "Catalog\Third Party\New Item" and select "My Catalog Item Group" in the left pane of the CEC Editor window. Choose "Catalog Item" from the Insert menu to display the Insert Catalog Item box.
- 5). Choose the General tab; then type "My Catalog Item" in the Name box. Enter a description for your Catalog Item Group in the Description box. Select the CPU for your Catalog item from the Compatibility tab. Click "OK" to apply changes. Save the changes you made in your .cec file, choosing "Save" from the File Menu. You have just added an implementation to the .cec file for your Catalog item.