🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #2213

Re: changing wallpaper on the fly?

#2213
From: John Grant
Date: Tue, 24 Nov 1992 03:41
19 lines
889 bytes
In article <1992Nov20.111639.221@otago.ac.nz> helpdesk@otago.ac.nz writes:
>From my program I want to change the wallpaper.
>
>I write the profile string
>I send WM_INICHANGE
>
>The wallpaper changes next time I start windows.
>I want it to change now.
>
>How do I do it? (Using Borland C++ 3.0)

	Just a wild guess, but how about:

	InvalidateRect(GetDesktopWindow(),NULL,TRUE);

-- 
John A. Grant						jagrant@emr1.emr.ca
Airborne Geophysics
Geological Survey of Canada, Ottawa
Technical Details
Message-ID: <1992Nov24.034136.22517@emr1.emr.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!torn!nott!emr1!jagrant
References: <1992Nov20.111639.221@otago.ac.nz>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!torn!nott!emr1!jagrant
From: jagrant@emr1.emr.ca (John Grant)
Subject: Re: changing wallpaper on the fly?
Message-ID: <1992Nov24.034136.22517@emr1.emr.ca>
Organization: Energy, Mines, and Resources, Ottawa
References: <1992Nov20.111639.221@otago.ac.nz>
Date: Tue, 24 Nov 1992 03:41:36 GMT
Lines: 19