Microsoft Windows CE 3.0  

Contrast Control

This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Windows CE 2.12 and later support the CONTRASTCOMMAND escape code, which allows applications to change the display contrast under software control. Applications must pass a ContrastCmdInputParm structure to the ExtEscape function in the lpszInDataparameter. For information on the defined contrast commands and their meanings, see ContrastCmdInputParm .

In Windows CE 2.12, applications were also required to store any contrast settings they applied in the DWORD registry value HKEY_CURRENT_USER\ControlPanel\Keybd\Contrast, so that on warm boot the system would keep the proper contrast setting. Windows CE 3.0 and later have removed this requirement, and applications are no longer allowed to modify that registry value.

 Last updated on Tuesday, July 13, 2004

© 2004 Microsoft Corporation. All rights reserved.