๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #16910

change wallpaper gif/jpg

#16910
From: Fernando Alvarez
Date: Sun, 20 Apr 2003 15:52
11 lines
1208 bytes
Hi!

I try to change the wallpaper with this instruction:

SystemParametersInfo(SPI_SETDESKWALLPAPER,0,"c:\\picture.JPG",SPIF_UPDATEINI
FILE || SPIF_SENDWININICHANGE);

It works with bmp pictures but it doesn๏ฟฝt work with gif/jpg pictures.  How
can I use gif/jpg pictures?

Thank you.
Technical Details
Message-ID: <3ea2c223$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10cc67,fd7225d99dc4b60f,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-04-20 08:59:53 PST
From: "Fernando Alvarez" <ferjat@lycos.es>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: change wallpaper gif/jpg
Date: Sun, 20 Apr 2003 17:52:08 +0200
Lines: 13
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 81.203.10.123
Message-ID: <3ea2c223$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1050853923 81.203.10.123 (20 Apr 2003 08:52:03 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail