Windows Registry Editor Version 5.00
; Visual settings
[HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ visualeffects]
"Visualfxsetting" = DWORD: 00000000
The following two methods cannot take effect immediately .. However, manual settings take effect immediately... Since we used to do this in the system, we now find that the display font edge is blurred with sertices... Very embarrassing... We are looking for a solution ..
Dllcall ("user32.dll", "int", "sendmessagetimeout", "hwnd", 65535, "int", 26, "int", 0, "int", 0, "int", 0, "int", 1000, "str", "dwresult ")
Do
Processclose ("assumer.exe ")
Until not processexists ("assumer.exe ")
Run ("gpupdate/force", "", @ sw_hide)
# Include <winapi. au3>
Winactivate ("[Class: cabinetwclass]")
_ Winapi_postmessage (controlgethandle ("[Class: cabinetwclass]", "", "syslistview321"), 256,116, 0); refresh my computer
_ Winapi_postmessage (controlgethandle ("[ClassRogman] "," "," syslistview321 "), 256,116, 0); refresh the Desktop
Func _ update_explorer ()
Local $ bold = OPT ("winsearchchildren", true)
Local $ A = winlist ("[Class: shelldll_defview]")
For $ I = 0 to ubound ($ A)-1
Dllcall ("user32.dll", "long", "sendmessage", "hwnd", $ A [$ I] [1], "int", 0x111, "int ", 28931, "int", 0)
Next
Opt ("winsearchchildren", $ bold)
Endfunc ;==> _ update_explorer
Dllcall ("shell32.dll", "NONE", "shchangenotify", "long", 0x8000000, "int", 0, "PTR", 0, "PTR", 0)
1. Most effective:
Zookeeper er.exe. However, the resource manager is shut down, some windows are closed, and there is no taskbar desktop status. It can take effect, but it is not recommended.
[Copy] [run] [Save]
Do
Processclose ("assumer.exe ")
Until not processexists ("assumer.exe ")
2. Call sendmessagetimeout. Unsatisfactory results.
[Copy] [run] [Save]
Dllcall ("user32.dll", "int", "sendmessagetimeout", "hwnd", 65535, "int", 26, "int", 0, "int", 0, "int", 0, "int", 1000, "str", "dwresult ")
3. Call the Group Policy Refresh setting tool. The test is invalid.
[Copy] [run] [Save]
Run ("gpupdate/force", @ SystemDir)
4. The Registry refresh API is very powerful. Good results
[Copy] [run] [Save]
Dllcall ("shell32.dll", "NONE", "shchangenotify", "long", 0x8000000, "int", 0, "PTR", 0, "PTR", 0)
5. Refresh the Desktop
[Copy] [run] [Save]
Rundll32.exe user32.dll, updateperusersystemparameters
6chinanewxp function, you can refresh the Registry file icon to take effect immediately.
[Copy] [run] [Save]
Myupdatereg ()
Func myupdatereg ()
Global const $ hwnd_broadcast = 0 xFFFF
Global const $ wm_settingchange = 0x1a
Dllcall ("user32.dll", "int", "sendmessage", "hwnd", $ hwnd_broadcast, "int", $ wm_settingchange, "int", "", "int ", "")
Endfunc
After testing, you can use the following APIs:
Dllcall ('user32. dll ', 'dword', 'systemparametersinfo', 'dword', 75, 'dword', 1, 'dword', 2, 'dword', 0x1)
Reserved Words for backup !!!!