So I want to make a GUI app where a person can choose between 2 background options: IDR_BACKGROUND1, and IDR_BACKGROUND2(that's how they are defined in Resource.h). How can I load the resources in code? I believe that syntax for changing the background is :
SystemParametersInfo(SPI_SETDESKWALLPAPER, 0, (here comes the path for
image), SPIF_UPDATEINIFILE);
but as I said, I don't know how to do it. Pls help :))