c++ - How to Change Desktop on windows OS -


i'm tired of using static pictures desktop. 'm tring make dynamic desktop coding. i'm not making video. plan make program draw pictures , update these pictures desktop. failed.after run code desktop didn't change @ all. code follow.

output of program

here func supposed update desktop. switchdesktop(createdesktop("numrain",null,null,df_allowotheraccounthook,desktop_createwindow,null));

my code @ codepad

p.s.my os win 7.

i think win32 api want use systemparametersinfo action spi_setdeskwallpaper. see example 3 of kb article visual basic example should able adapt.


Comments

Popular posts from this blog

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -

python - How to create a legend for 3D bar in matplotlib? -