Achilles Posted April 29, 2007 Share Posted April 29, 2007 (edited) I have this:DllCall('User32.dll', 'int', 'SystemParametersInfo', 'int', 20, 'int', 0, 'string', @WindowsDir & '\xwall.bmp', 'int', 0)What I want to know is what the numbers do.More specifically I want to know how I would change 'WallpaperStyle' and 'TileWallpaper' (both these have values in the regedit file...). Anybody have any ideas?EDIT: I want to change the 'WallpaperStyle' and 'TileWallpaper' when I call the Dll, I already know that I could to regwrite to change the value. Edited April 29, 2007 by Piano_Man My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
MHz Posted April 29, 2007 Share Posted April 29, 2007 ezzetabi and others have posted complete UDFs on this subject. I'm sure a search will bring your answers. Link to comment Share on other sites More sharing options...
Achilles Posted April 29, 2007 Author Share Posted April 29, 2007 ezzetabi and others have posted complete UDFs on this subject. I'm sure a search will bring your answers. I've tried searching but I didn't find any results. I only found people using this dll the way I posted it it with to explanation to why they use the numbers they do. I'll search some more though... maybe I missed a topic somewhere My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
therks Posted April 29, 2007 Share Posted April 29, 2007 (edited) http://msdn2.microsoft.com/en-us/library/ms724947.aspxLots of info there, I'm still reading through it myself.* After a bit of reading, it appears that those options are only set via the registry. Any particular reason you didn't want to do that? Edited April 29, 2007 by Saunders My AutoIt Stuff | My Github Link to comment Share on other sites More sharing options...
Achilles Posted April 29, 2007 Author Share Posted April 29, 2007 (edited) ezzetabi and others have posted complete UDFs on this subject. I'm sure a search will bring your answers. Alright I searched for "wallpaper" specific to "ezzetabi" and managed to find the answer, thanks for the suggestion!This is where I found for anyone who wants to look later. Edited April 29, 2007 by Piano_Man My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
Zedna Posted April 29, 2007 Share Posted April 29, 2007 (edited) Look ar MSDNNumber 20 is constant for SPI_SETDESKWALLPAPERConst $SPI_SETDESKWALLPAPER = 20EDIT: I was slower :-) Edited April 29, 2007 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now