Results 1 to 2 of 2

Thread: Desktop Wallpaper

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2001
    Posts
    24

    Question Desktop Wallpaper

    Anyone know how to prevent desktop wallpaper from being changed? Policies and registry settings dont prevent it from being changed in certain cases and I need to prevent inappropriate wallpaper from being on the desktop.

    Im thinking its going to involve subclassing SystemParametersInfo and somehow canceling the
    SPI_SETDESKWALLPAPER request but im not sure how to make it work.

    I thought about checking the wallpaper every time the WM_settingchange occurs but from what I see some programs may not send a setting change message so the program would never know the wallpaper changed.

    Id like to cancel the event rather then undo the wallpaper change after it occurs.

    Anyone know how it might be done?

  2. #2
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    there is a policy in the registry that disallows that though

    www.regedit.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width