Thread: Desktop Wallpaper - Animated Tiff

  1. #1
    Registered User
    Join Date
    Aug 2004
    Posts
    731

    Desktop Wallpaper - Animated Tiff

    I am working in C# and have the IActiveDesktop implanted and everything is working. But now I need to place an animated tiff file as the wallpaper. I know that that isn't possible so I am wondering if anyone here would have any idea how to solve this problem. Using an animated gif isn't possible because the amount of different colors is over 256 and limiting to that range doesn't work very well.

    So any ideas?

  2. #2
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    2,158
    I'm not sure if this works with gifs or tiffs.
    Code:
    BOOL SetWallpaper(char *pszImagePath) {
       return SystemParametersInfo(SPI_SETDESKWALLPAPER, 0, PVOID(pszImagePath), SPIF_UPDATEINIFILE);   }

  3. #3
    Registered User
    Join Date
    Aug 2004
    Posts
    731
    Thanks for the suggestion Yarin but I'm sorry to say it didn't work for my animated tiff file. I'm begining to think I may need a new approach to this.

  4. #4
    Registered User AloneInTheDark's Avatar
    Join Date
    Feb 2008
    Posts
    74
    I didn't know TIFF files could be animated. Kind'a cool. Which OS are you testing this on? Was just thinking, I think Vista doesn't have ActiveDesktop anymore. Not sure though.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem reading tiff image files?
    By compz in forum C++ Programming
    Replies: 9
    Last Post: 10-30-2009, 04:17 AM
  2. changing desktop wallpaper
    By -11Reaper11- in forum C++ Programming
    Replies: 7
    Last Post: 08-09-2006, 03:35 AM
  3. Changing the desktop wallpaper?
    By Sfpiano in forum Windows Programming
    Replies: 3
    Last Post: 07-10-2005, 07:48 AM
  4. Sticky wallpaper!
    By SMurf in forum Windows Programming
    Replies: 4
    Last Post: 02-21-2003, 12:34 PM