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.
here func supposed update desktop. switchdesktop(createdesktop("numrain",null,null,df_allowotheraccounthook,desktop_createwindow,null));
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
Post a Comment