Results 1 to 3 of 3

Thread: Wallpaper

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 1999
    Location
    Cleveland, Ohio
    Posts
    263

    Wallpaper

    Can someone tell me why this isn't working - the file exists, atleast to me:

    SystemParametersInfo(SPI_SETDESKWALLPAPER, (UINT) 0, "C:\wallpaper.bmp", SPIF_UPDATEINIFILE | SPIF_SENDWININICHANGE);

  2. #2
    Frenzied Member Zaei's Avatar
    Join Date
    Jul 2002
    Location
    My own little world...
    Posts
    1,710

    Re: Wallpaper

    Code:
    SystemParametersInfo(SPI_SETDESKWALLPAPER, (UINT) 0, "C:\\wallpaper.bmp", SPIF_UPDATEINIFILE | SPIF_SENDWININICHANGE);
    Z.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 1999
    Location
    Cleveland, Ohio
    Posts
    263
    Thanks, I was a bit brain dead there for a second.

    Another question, how would I be able to go about storing a picture in my program, to write it to a file to use? Or simply get an image off the web? If it wasn't clear enough this is for mischievious purposes - revenge on a friend for messing with my computer when I wasn't around, don't worry, I don't plan on causing any serious or irreversable damage

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