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

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -