ken82m Posted August 31, 2010 Share Posted August 31, 2010 (edited) I've found plenty of methods to toggle desktop icon visibility do this on the au3 forum and loads of them on google. But nothing I've tried has worked except right clicking on the desktop>view>show desktop icons. I'd like to list what i've tried for you but the list is endless, however I tried every script that came. But here are the last three autoit solutions I've found. Thanks, Kenny WinSetState("Program Manager", "", @SW_HIDE) #include <GUIListView.au3><BR>$h = WinGetHandle("[CLASS:Progman]")<BR>$hwnd = ControlGetHandle($h,"","SysListView321")<BR>_GUICtrlListView_SetView($hwnd,3) MsgBox(0, "Warning", "Now we hide desktop icons")<BR>_ShowHideIcons(@SW_HIDE)<BR><BR>MsgBox(0, "Warning", "Now we show desktop icons")<BR>_ShowHideIcons(@SW_SHOW)<BR><BR>Func _ShowHideIcons($sState)<BR> Local $hParent = WinGetHandle("Program Manager")<BR> Local $hListView = ControlGetHandle($hParent, "", "SysListView321")<BR><BR> WinSetState($hListView, "", $sState)<BR>EndFunc Edited August 31, 2010 by ken82m "I believe that when we leave a place, part of it goes with us and part of us remains... Go anywhere, when it is quiet, and just listen.. After a while, you will hear the echoes of all our conversations, every thought and word we've exchanged.... Long after we are gone our voices will linger in these walls for as long as this place remains." 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