Partager via


Customizing the Calibrui Module (Windows CE 5.0)

Send Feedback

You can customize the appearance of the touch screen calibration window by modifying the source files in the cloned module. The following list shows the two main source files in this module:

  • Calibrui.cpp. This defines the touch screen calibration UI component. You can customize the UI component by making changes to this file. For information about the functions defined for Calibrui, see Customizing the Touch Screen (Stylus) Calibration User Interface Component.

  • Calibrui_Clone.rc. This is the resource file associated with the Calibrui component.

    **Note   **You must never change the name of the resource file in a cloned module. It should always be called Calibrui_Clone.rc.

For this how-to, you will change one of the string text messages in the Calibrui_Clone.rc file and verify that the change occurs in the GWES executable file.

To modify the resource file

  1. It is recommended that you make a copy of the Calibrui_Clone.rc file before you make changes to it. Use Windows explorer to navigate to the directory %_WINCEROOT%\PBWorkspaces\ReplaceCalibrui\CalibrUi where the cloned Calibrui module resides.

    Right-click the CalibrUi_clone.rc file and select Copy. Paste the copy of CalibrUi_clone.rc in the same folder, and rename the copy CalibrUi_clone_copy.rc.

  2. Open the CalibrUi_clone.rc file by using a text editor, for example Notepad. The CalibrUi_clone.rc file contains all of the resource strings that are associated with the Calibrui module. Modify one of the resource strings in this file. For example, change the string "Press the Esc Key to cancel" to "Press the Esc Key to cancel. Test String".

  3. To save the resource file, from the File menu, choose Save. To exit Notepad, from the File menu, choose Exit.

See Also

How to Replace the Calibrui Module

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.