WALLPAPER

#### Search Results

Search

# WALLPAPER

Specifies the handle of the wallpaper control (if any) that is used to paint the background of the dialog or dialog element. The background is automatically redrawn if the wallpaper control used is changed or modified. If the wallpaper control is deleted, the WALLPAPER attribute of the dialog or dialog element is automatically reset to NULL-HANDLE.

Any parts of the dialog or dialog element's background that are not covered by the wallpaper (if any) are painted using the color specified by the BACKGROUND-COLOUR-NAME or BACKGROUND-COLOUR-VALUE attributes. A value of NULL-HANDLE for the wallpaper attribute indicates that no wallpaper should be used.

Note
Wallpapers are not available for list view controls on Windows 2000.

Applies to | Control box control, dialog (all types), dialog bar control, list view control, tab control.
Data Type | HANDLE
Default Value | NULL-HANDLE
Possible Values | Handle of existing wallpaper control or NULL-HANDLE.