Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Refreshing windows 7 toolbar/systray

- - - - -

  • Please log in to reply
2 replies to this topic

#1
wazer

wazer

    You gotta risk it to get the biscuits

  • Member
  • PipPip
  • 237 posts
  • Joined 24-May 05
  • OS:Windows 8.1 x64
  • Country: Country Flag
Hello has anyone succeded in refreshing the taskbar on windows 7.


I know you can manipulate the explorer.exe and restart it, but thats not an option, people may loose loads of stuff when doing this fix on their computers. I need a legal and nice way to refresh explorer.exe or the taskar/systray.


example.

I wanna add this reg

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\CTF\LangBar]
"ExtraIconsOnMinimized"=dword:00000000
"ShowStatus"=dword:00000003

[HKEY_CURRENT_USER\Software\Microsoft\CTF\MSUTB]
"ShowDeskBand"=dword:00000000

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
"ctfmon.exe"=-


This will remove the language bar from the botton of the taskbar/systray, but you need to restart/logout of windows or do the dirty hack(killing explorer) before it applys to users.

Edited by wazer, 28 January 2011 - 04:54 AM.

if ( $life( $me ) == $null ) { getLife( $me ) | halt }


Quick Launch Classic 7 Tool


How to remove advertisement from MSFN

#2
wazer

wazer

    You gotta risk it to get the biscuits

  • Member
  • PipPip
  • 237 posts
  • Joined 24-May 05
  • OS:Windows 8.1 x64
  • Country: Country Flag
Sorry for spelling mistake should say taskbar not toolbar like in IE ;)
if ( $life( $me ) == $null ) { getLife( $me ) | halt }


Quick Launch Classic 7 Tool

#3
wakillon

wakillon
  • Member
  • 6 posts
  • Joined 22-January 10
For just refresh try this :

#NoTrayIcon
#include <Array.au3>

_UpdateExplorer ( )

Func _UpdateExplorer ( )
	Local $_WinOpt = Opt ( "WinSearchChildren", True ), $_PARAM = 107040
	If @OSVersion = "WIN_XP" Then $_PARAM = 28931
    $_WinListArray = WinList ( "[REGEXPCLASS:(Explore|Cabinet)WClass]" ) 
	For $_I = 0 To UBound ( $_WinListArray ) - 1
		DllCall ( "user32.dll", "long"  , "SendMessage", "hwnd", $_WinListArray[$_I][1], "int", 0x111, "int"   , $_PARAM , "int"  , 0 )
	Next	
	$_WinListArray = WinList ( "[REGEXPCLASS:(Progman|#32770|SHELLDLL_DefView)]" )
	For $_I = 0 To UBound ( $_WinListArray ) - 1
		DllCall ( "user32.dll", "long"  , "SendMessage", "hwnd", $_WinListArray[$_I][1], "int", 0x111, "int"   , $_PARAM , "int"  , 0 )
	Next
EndFunc ;==> _UpdateExplorer ( )

But you need to restart explorer for apply your changes like here

Edited by wakillon, 29 January 2011 - 09:09 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users