Cloning the Commctrl Module (Windows Embedded CE 6.0)


To customize the commctrl module, you must make a copy of the files in the %_WINCEROOT%\Public\Common\Oak\Drivers\SkinneableUI\Commctrl\ directory.

It is important that you make your changes in a copy of the original code and not in the original code because you can unintentionally create build issues and bugs that are difficult to trace. In addition, changes to code in a Public directory will affect all other workspaces. The recommended method is to replicate or clone the commctrl module in your workspace and then make changes to it.

  1. In Platform Builder, select the Catalog Items View tab.

  2. Expand the <Os Design Name> node, and navigate to Core OS\CEBASE\Shell and User Interface\User Interface\Common Controls.

  3. Right-click the Common Control Catalog item. In the pop-up menu that appears, select Clone Catalog Item.

The Common Control Catalog item must be selected before you right-click on it.
  1. The Clone Catalog Item - commctrl window appears. After a time period of approximately one minute, a list appears that shows component libraries that can be cloned. If the commctrlview library is not already selected, select it and choose OK. In the Cloning Complete message box, click OK.
  2. To make sure that the commctrl module has been cloned, select the Solutions Explorer tab. Expand the Subrojects node. If the cloning operation was successful, you will see commctrlview in the list of projects.
  3. Expand the commctrlview node and notice that all source files relating to the Commctrl module are now available for editing. Any changes to the source files in the cloned module will take effect in any run-time image or executable that you create. Note that these changes will take effect only for the current workspace and not for any others that you created earlier or will create later.

Community Additions