Cloning the Calibrui Module (Windows CE 5.0)

Send Feedback

To customize the Calibrui module, you must make a copy of the files in the %_WINCEROOT%\Public\Common\Oak\Drivers\SkinneableUI\Calibrui\ 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 calibrui module in your workspace and then make changes to it.

To clone the calibrui module

  1. Select the OSDesignView tab in the workspace window.

  2. Expand the <Os Design Name> Catalog Items node, and navigate to Mobile Handheld [Windows CE devices]\Shell and User Interface\Graphics, Windowing and Events.

  3. Right-click Minimal GDI Configuration. In the pop-up menu that appears, select Clone Catalog Item.

  4. The Clone Catalog Item - gwe2 window appears, with a list of component libraries that can be cloned. If the Calibrui module is not already selected, select it and choose OK. In the Cloning Complete window, choose OK.

  5. To make sure that the calibrui module has been cloned, select the FileView tab in the workspace. Expand the Projects node. If the cloning operation was successful, you will see Calibrui (gwe2 clone) in the list of projects.

    **Note   **You must never change the project name Calibrui (gwe2 clone). Making changes to the project name will affect the build system and cause your run-time image to be built incorrectly or to fail.

  6. Expand the Calibrui (gwe2 clone) node. All of the source files that relate to the Calibrui module are now available for editing. Any changes to the source files will take effect in any run-time image or executable that you create from this point forward.

See Also

How to Replace the Calibrui Module

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.