Xichael Posted July 13, 2008 Share Posted July 13, 2008 There's this great little program that makes Windows' desktop icons display in list view. I'm sure this could be done in AutoIt, but I wouldn't have a clue how. The developer has made the source code available, and I'm wondering if any of you adepts would like to have a crack at recoding it to AutoIt.The source files are here: http://iamwill.com/dev/desktopListView/src/ Link to comment Share on other sites More sharing options...
BrettF Posted July 13, 2008 Share Posted July 13, 2008 There's this great little program that makes Windows' desktop icons display in list view. I'm sure this could be done in AutoIt, but I wouldn't have a clue how. The developer has made the source code available, and I'm wondering if any of you adepts would like to have a crack at recoding it to AutoIt.The source files are here: http://iamwill.com/dev/desktopListView/src/Allright. What are possible steps on how to tackle this?You can do it yourself. Its not that complicated...Get items on the desktopFilter out stuff you may/may not want to see (user settings)Get the iconsPopulate a list view Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
ProgAndy Posted July 13, 2008 Share Posted July 13, 2008 The desktop IS a listview muttley Small Icons: #include <GUIListView.au3> $h = WinGetHandle("[CLASS:Progman]") $hwnd = ControlGetHandle($h,"","SysListView321") _GUICtrlListView_SetView($hwnd,3) reset: #include <GUIListView.au3> $h = WinGetHandle("[CLASS:Progman]") $hwnd = ControlGetHandle($h,"","SysListView321") _GUICtrlListView_SetView($hwnd,1) *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes Link to comment Share on other sites More sharing options...
Xichael Posted July 13, 2008 Author Share Posted July 13, 2008 Brilliant! Thanks! Works like a charm.Now if only I understood how it works.I've got lots to learn... Link to comment Share on other sites More sharing options...
ProgAndy Posted July 14, 2008 Share Posted July 14, 2008 a listview can have different looks. (Like the tile / Small Icon ... in explorer) 0 is details 1 is large icon -> desktop standart 2 is list ( doesn't work for desktop) 3 is small icon -> desktop "List" style 4 is tile *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes Link to comment Share on other sites More sharing options...
TehWhale Posted July 14, 2008 Share Posted July 14, 2008 (edited) The desktop IS a listview muttley Small Icons: #include <GUIListView.au3> $h = WinGetHandle("[CLASS:Progman]") $hwnd = ControlGetHandle($h,"","SysListView321") _GUICtrlListView_SetView($hwnd,3) reset: #include <GUIListView.au3> $h = WinGetHandle("[CLASS:Progman]") $hwnd = ControlGetHandle($h,"","SysListView321") _GUICtrlListView_SetView($hwnd,1)Wow, that's fricken awesome! I must add that to my Autoit Examples Library! Edited July 14, 2008 by JasonB 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