PLZ somebody help me.
I created a program to change my desktop wallpaper by just changing the file Wallpaper1.bmp in Local Settings directory. But I Have this problem - it changes the file but I must press F5 at the desktop to see the change. I tryed repaintwindow(), updatewindow();
SystemParametersInfo(
SPI_SETDESKWALLPAPER,
0,
Nil,
SPIF_SENDWININICHANGE );
but nothing works, or I am doing it wrong. PLZ HELP
I created a program to change my desktop wallpaper by just changing the file Wallpaper1.bmp in Local Settings directory. But I Have this problem - it changes the file but I must press F5 at the desktop to see the change. I tryed repaintwindow(), updatewindow();
SystemParametersInfo(
SPI_SETDESKWALLPAPER,
0,
Nil,
SPIF_SENDWININICHANGE );
but nothing works, or I am doing it wrong. PLZ HELP