A little Program, which I wrote for a buddy
You add the jpg you desire to the resourcefile
You can modify it per changing data in the resourcefile
I used two routines of donkeys Graphics.lib and , thank to him
RegistryFunctions of vkim
how it works:
1. Changing the HKEY_CURRENT_USER\Control Panel\Desktop\WallpaperStyle to 0 (center the wallpaper, or if you like 2 for stretched)
2. Extract the jpg to C:\Install.jpg
3. PicturefromFile
4. SaveDIB32
5. invoke SystemParametersInfo, SPI_SETDESKWALLPAPER
Sorry for forgetten copyrights credits:P
to do if you like:
working with ram, not working with the jpg on the harddisk...
[attachment deleted by admin]
You are a PURE AND SIMPLE AND FAMILY horriblor.
:P
Ar-ras,
I tried to build it but I don't have a copy of Vortex's bin2o handly and could not find it on is website. Could you post your copy so I can build the example ?
Oh Hutch, my fault
You don't need the bin2o
I used it for a test and forgot to kill the line from the make.bat
But it should compile and link well
@six_L
my english is not so good... I can't understand your sentence
The Program shows how to convert a jpg to a bmp and set the bmp as a wallpaper...
I don't take any credits
Oh Man!!! what did you do to ELMO!!!! :eek
Quote from: six_L on May 09, 2006, 02:07:47 AM
You are a PURE AND SIMPLE AND FAMILY horriblor.
:P
Quote from: asmGhost on May 09, 2006, 03:15:34 AM
Oh Man!!! what did you do to ELMO!!!! :eek
Do you mean the suicide of elmo :P
If so, I misunderstood you six_L :)
I wanted to help elmo, I did everything I could but he was too fast :(
Next update, replace with this.
[attachment deleted by admin]