home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- Path: 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
-
- 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
-