realbasic-nug
[Top] [All Lists]

Re: Setting Wallpaper on Windows

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Setting Wallpaper on Windows
From: "H.M. van Staveren" <hmvs at xs4all dot nl>
Date: Fri, 30 Aug 2002 22:09:55 +0200
>Good point, I always forget that M$ redefines all their API for A (ANSI) or
>W (Wide chars)...  Sorry about that.  Your code looks right to me..there are
>only a few suggestions for places to try..  Try putting in 0x0002 for the
>updateUserProfile parameter.. that should tell Windows to update it's ini
>file.  Also, the API spec says to just pass in the name, doesn't say
>location.  I seem to recall a long time ago that your wallpaper could only
>be in the Windows directory.  :: shrugs :: worth a shot to move the
>wallpaper into the Windows directory and just use it's name, tho I can't
>imagine that being a problem.  After you make this function call, I would
>try hitting the F5 key, it causes Windows to refresh, and your wallpaper may
>show up!
>

Well still no luck, anyway enough windows stuff for one day, and thanks
for the almost interactive guidance on this one.

>~Aaron
>
>-- 
>"You tried your best and you failed miserably. The lesson is 'never try'."

Would that really be my lesson today?  ;-)

Herb

---
A searchable archive of this list is available at:
<http://dbserver.realsoftware.com/KBDB/search.php>

Unsubscribe:
<mailto:realbasic-nug-off at lists dot realsoftware dot com>

Subscribe to the digest: 
<mailto:realbasic-nug-digest at lists dot realsoftware dot com>
.


<Prev in Thread] Current Thread [Next in Thread>