Im making a simple wallpaper changer. It works when changing the wallpaper but i cant change the pattern of the wallpaper. I tried something like this but it doesnt work :S
SystemParametersInfo(SPI_SETDESKPATTERN, 0, "Center", SPIF_UPDATEINIFILE | SPIF_SENDWININICHANGE);
Can some1 please show me the proper way of setting the wallpaper pattern?