Important:
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.
4/8/2010

The registry keys HKEY_LOCAL_MACHINE\Software\Microsoft\Color\ShColorand HKEY_LOCAL_MACHINE\System\GWE\SysColorcan be used to change the default shell and system colors. ShColorrepresents the default shell color values, and SysColorrepresents the default system color values. These two registry keys are binary large objects (BLOBs). ShColorconsists of 41 DWORD values, SysColorconsists of 29 words.

The following table shows the shell colors that correspond to the ShColorDWORD value, from the first value to the last.

Registry Order Shell Color Description

0

COLOR_ALERT

Obsolete.

1

COLOR_ACCENTTEXT

Text color used by connection dialogs.

2

COLOR_CALOFFHOURS

Obsolete.

3

COLOR_CALONHOURS

Obsolete.

4

COLOR_TODAYTEXT

Home screen text color.

5

COLOR_STARTICONBACKGROUND

Base color for title bar and soft keys (Windows Mobile Professional and Windows Mobile Classic.)

Note that, beginning with Windows Mobile 6.5.3, soft keys are replaced by touchable tiles on Windows Mobile Professional phones.

6

COLOR_TODAYSEPARATOR

Windows Classic Home screen separator line color. Does not apply to the Windows Default Home screen.

7

COLOR_TODAYMENU

Home screen menubar background color.

8

COLOR_NAVBAR

Color of title bar (Windows Mobile Professional and Windows Mobile Classic.)

9

COLOR_NAVBARTEXT

Color of title bar text on (Windows Mobile Professional and Windows Mobile Classic.)

10

COLOR_NAVBARHILITE

Obsolete.

11

COLOR_NOTIFTRAY

Notification tray background color (Windows Mobile Professional and Windows Mobile Classic.)

12

COLOR_NOTIFTRAYHILITE

Background of highlighted icon in the notification tray (Windows Mobile Professional and Windows Mobile Classic.)

13

COLOR_BUBBLECAPTION

Left color of bubble caption background gradient on (Windows Mobile Professional and Windows Mobile Classic.)

14

COLOR_GRADIENTBUBBLECAPTION

Right color of bubble caption background gradient (Windows Mobile Professional and Windows Mobile Classic.)

15

COLOR_INTGRADLEFT

Left color of a gradient listview background, for the interlaced rows.

16

COLOR_INTGRADRIGHT

Right color of a gradient listview background, for the interlaced rows.

17

COLOR_HIGHGRADLEFT

Currently not used.

18

COLOR_HIGHGRADRIGHT

Currently not used.

19

COLOR_PHONEDIALERTEXT

Text color of the text in the Phone dialpad buttons.

20

COLOR_TRAYGRADLEFT

Base color for title bar and soft keys (Windows Mobile Standard only.)

Note that, beginning with Windows Mobile 6.5.3, soft keys are replaced by touchable tiles on Windows Mobile Professional phones.

21

COLOR_TRAYGRADRIGHT

Right color of tray (Windows Mobile Standard only.)

22

COLOR_TRAYTEXT

Tray text color (Windows Mobile Standard only.)

23

COLOR_TRAYBKGND

Tray background color, if not a gradient (Windows Mobile Standard only.)

24

COLOR_DIALPADBKGND

Currently not used.

25

COLOR_CRITGRADLEFT

Left color of a critical bubble caption gradient (Windows Mobile Professional and Windows Mobile Classic.)

26

COLOR_CRITGRADRIGHT

Right color of a critical bubble caption gradient (Windows Mobile Professional and Windows Mobile Classic.)

27

COLOR_BUBBLETITLE

Text color of a bubble caption (Windows Mobile Professional and Windows Mobile Classic.)

28

COLOR_CRITBUBBLETITLE

Text color of a critical bubble caption (Windows Mobile Professional and Windows Mobile Classic.)

29

COLOR_ALERTTITLE

Alert title text color. An alert is a full screen message box (Windows Mobile Standard only.)

30

COLOR_ALERTWINDOW

Background color of a listview in alert. Also used for volume alert slider bar (Windows Mobile Standard only.)

31

COLOR_ALERTRULE

Color of alert horizontal separator line. An alert is a full screen message box (Windows Mobile Standard only.)

32

COLOR_HOMETEXT

Home Screen text (Windows Mobile Standard only.)

33

COLOR_HOMERULE

Home Screen horizontal separator line (Windows Mobile Standard only.)

34

COLOR_HOMEHIGHLIGHT

Home Screen background color of highlighted text (Windows Mobile Standard only.)

35

COLOR_HOMEHIGHLIGHTTEXT

Home Screen highlighted text (Windows Mobile Standard only.)

36

COLOR_GRADLEFT

Left color of a gradient listview background, used to draw alternating lines together with COLOR_INTGRADLEFT and COLOR_INTGRADRIGHT.

37

COLOR_GRADRIGHT

Right color of a gradient listview background, used to draw alternating lines together with COLOR_INTGRADLEFT and COLOR_INTGRADRIGHT.

38

COLOR_STARTMENU

Start screen background color when there is no background bitmap (Windows Mobile Professional and Windows Mobile Classic.)

39

COLOR_STARTMENUTEXT

Start Menu text.

40

COLOR_TAPANDHOLD

Tap and Hold (Windows Mobile Professional and Windows Mobile Classic.)

The following table shows the system colors that correspond to the SysColorDWORD value, from the first value to the last.

Registry Order System Color Description

0

COLOR_SCROLLBAR

Color of the gray area of a scroll bar.

1

COLOR_BACKGROUND

Background color of the desktop window.

2

COLOR_ACTIVECAPTION

Color of the title bar of an active window.

3

COLOR_INACTIVECAPTION

Color of the title bar of an inactive window.

4

COLOR_MENU

Background color of a menu.

5

COLOR_WINDOW

Background color of a window.

6

COLOR_WINDOWFRAME

Color of a window frame.

7

COLOR_MENUTEXT

Color of the text in a menu.

8

COLOR_WINDOWTEXT

Color of the text in a window.

9

COLOR_CAPTIONTEXT

Color of the text in a title bar and of the size box and scroll bar arrow box.

10

COLOR_ACTIVEBORDER

Color of the border of an active window.

11

COLOR_INACTIVEBORDER

Color of the border of an inactive window.

12

COLOR_APPWORKSPACE

Background color of multiple document interface (MDI) applications.

13

COLOR_HIGHLIGHT

Color of an item selected in a control.

14

COLOR_HIGHLIGHTTEXT

Color of the text of an item selected in a control.

15

COLOR_BTNFACE

Color of the face of a button.

16

COLOR_BTNSHADOW

Shadow color of buttons for edges that face away from the light source.

17

COLOR_GRAYTEXT

Color of shaded text. This color is set to 0 if the current display driver does not support a solid gray color.

18

COLOR_BTNTEXT

Color of the text for push buttons.

19

COLOR_INACTIVECAPTIONTEXT

Color of the text in the title bar of an inactive window.

20

COLOR_BTNHIGHLIGHT

Highlight color of buttons for edges that face the light source.

21

COLOR_3DDKSHADOW

Color of the dark shadow for three-dimensional display elements.

22

COLOR_3DLIGHT

Highlight color of three-dimensional display elements for edges that face the light source.

23

COLOR_INFOTEXT

Color of the text for ToolTip controls.

24

COLOR_INFOBK

Background color for ToolTip controls.

25

COLOR_STATIC

Background color for static controls and dialog boxes.

26

COLOR_STATICTEXT

Color of the text for static controls.

27

COLOR_GRADIENTACTIVECAPTION

Color of the title bar of an active window that is filled with a color gradient.

28

COLOR_GRADIENTINACTIVECAPTION

Color of the title bar of an inactive window that is filled with a color gradient.

See Also

Other Resources