Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Desktop Registry Settings

Desktop Registry Settings (Windows CE 5.0)

Windows CE 5.0
Send Feedback

Your shell can display specific desktop wallpaper by retrieving the current wallpaper registry values from the HKEY_CURRENT_USER\ControlPanel\Desktop registry key.

This topic applies to an older product version. See documentation for the most current version of Windows Embedded Compact. Or visit Windows Embedded Products & Solutions for the latest information about intelligent systems powered by Microsoft.

To specify the name of the wallpaper bitmap to retrieve, set the HKEY_CURRENT_USER\ControlPanel\Desktop\Wallpaper registry value to a string that is the path to the bitmap. The following code example shows how to set this registry value.

"Wallpaper": REG_SZ

To specify whether to tile the wallpaper bitmap, set the HKEY_CURRENT_USER\ControlPanel\Desktop\Tile registry value. Set this registry value to 1 to display the wallpaper bitmap as repeating tiles, set to 0 to display the bitmap normally. The following code example shows how to set this registry value.


Finally, call PostMessage to post the message to all top-level windows in the system, including disabled or invisible unowned windows, overlapped windows, and pop-up windows. This call is shown in the following code snippet.


See Also

Shell Registry Settings | PostMessage

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.

© 2015 Microsoft