Pattern Entry

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

Pattern

HKCU\Control Panel\Desktop

Data type Range Default value

REG_SZ

(None) | b1 b2 b3 b4 b5 b6 b7 b8 (in decimal)

(None)

Description

Specifies a pattern for the screen background.

The value of this entry (b1–b8) defines a two-color pattern bitmap that is 8 pixels wide and 8 pixels high. Each b-number value specifies the pattern for one row of the bitmap. The b-number values are 8-bit binary values, which are entered in decimal. The bits in each b-number value represent a row of 8 pixels. If a bit is set to 0, the pixel it defines is set to the background color. If a bit is set to 1, the pixel it defines is set to the foreground color.

For example, if you set the b1 value to the decimal value 128, the top row of pixels in the bitmap appears as the binary equivalent, 10000000. The system interprets this to mean that the first pixel has the foreground color and the seven remaining pixels have the background color.

The background color is determined by the value of the Background entry, and the foreground color is determined by the value of the WindowText entry, both of which appear in the Colors Subkey subkey.

See Also

Concepts

Colors Subkey