Article View: borland.public.cppbuilder.nativeapi
Article #10960Changing the Desktop Wallpaper
From: Robert Hoover
Date: Mon, 08 Mar 2004 18:15
Date: Mon, 08 Mar 2004 18:15
15 lines
1340 bytes
1340 bytes
Hi, I've been writing my own "installation CD" for my software and I found the following function to change the desktop wallpaper. SystemParametersInfo(SPI_SETDESKWALLPAPER, 0, "MyImage.bmp", SPIF_UPDATEINIFILE); SystemParametersInfo(SPI_SETDESKWALLPAPER, 0, "MyImage.bmp", SPIF_SENDCHANGE); But, it only accepts BITMAPs. Is there a VCL object or function to accomplish the same thing, adding JPG or other formats? Thanks, Rob
Technical Details
Message-ID:
<404cb832@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!fu-berlin.de!news.belwue.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,5d6d0144e51c775c,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-03-08 10:41:06 PST From: "Robert Hoover" <not.a.real.address@anywhere...sorry> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Changing the Desktop Wallpaper Date: Mon, 8 Mar 2004 13:15:12 -0500 Lines: 18 Organization: TriTekCorp.com 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: 67.142.18.164 Message-ID: <404cb832@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1078769714 67.142.18.164 (8 Mar 2004 10:15:14 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!fu-berlin.de!news.belwue.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail