Sign in to follow this  
Followers 0
ken82m

***Duplicate*** Please Delete

1 post in this topic

#1 ·  Posted (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 by ken82m

My Contributions _StringMultiReplace PC Builders Console - Secure PDF Creator - Cisco VPN Installer MS DNS Server Backup Script - MS DHCP Backup Script IT Admin Console - Toggle Admin Mode - MyMovies-Add Discs Script - IT Help Desk and System Information Tool - Set On Lid Close Power Option - Streaming Media Server & Website "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."

Share this post


Link to post
Share on other sites



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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0