[python-win32] settin wallpaper

DogWalker forestiero at qwest.net
Sun Aug 3 18:56:13 EDT 2003


Try this:

    windll.user32.SystemParametersInfoA(.....

You were calling the wrong function. If you just mistyped it in your email,
repost with the pertinent code, including the value you used for
SPI_SETDESKWALLPAPER and pertinent import statements.

HTH
  ----- Original Message ----- 
  From: ryan
  To: python-win32 at python.org
  Sent: Sunday, August 03, 2003 4:05 PM
  Subject: [python-win32] settin wallpaper


  the win32 python extentions don't seem to have "SysParametersInfo()" and i
need it to set the wallpaper in windows.

  cyptes has a "SysParametersInfoA()" function but wont let me use the
SPI_SETDESKWALLPAPER attribute.

  anyone have any ideas how i can set the windows wallpaper from a python
program?

  -ryan


----------------------------------------------------------------------------
--


  _______________________________________________
  Python-win32 mailing list
  Python-win32 at python.org
  http://mail.python.org/mailman/listinfo/python-win32
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20030803/99680729/attachment.htm


More information about the Python-win32 mailing list