HKCU\Control Panel\Desktop

Data type Range Default value
REG_SZ (None) | b1 b2 b3 b4 b5 b6 b7 b8 (in decimal) (None)


Specifies a pattern for the screen background.

The values (b1 - b8) define 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 Background, and the foreground color is determined by the value of WindowText, both of which appear in the Colors subkey.

Change method

To change the value of this entry, double-click Display in Control Panel. Click the Background tab, click the Pattern button, and then select a pattern from the list.

Related Entries

Page Image