on 8/30/02 3:09 PM, Carnivore devoured H.M. van Staveren at hmvs at xs4all dot
nl's
message:
>
>> 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.
Any time...I might have to look into this over the weekend, I KNOW I have
set the background on Windows programmatically before..but it's been a few
years.. are you passing in a .bmp or a .jpg (or something else)? What
version of Windows are you testing on?
>> "You tried your best and you failed miserably. The lesson is 'never try'."
>
> Would that really be my lesson today? ;-)
LoL, no, but Homer has many jewels of wisdom like that. :-P
--
Maybe in order to understand mankind, we have to look at the word itself:
"Mankind". Basically, it's made up of two separate words - "mank" and "ind".
What do these words mean? It's a mystery, and that's why so is mankind.
---
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>
.
|