|
论坛里搜索的
$size = DllCall("User32.dll","int","GetSystemMetrics","int",11)
RegWrite("HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics", "Shell Icon Size", "REG_SZ", $size[0]-1)
DllCall("user32.dll", "Int", "SendMessage", "hwnd", 0xFFFF, "int", 0x001A, "int", 0, "int", 0)
RegWrite("HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics", "Shell Icon Size", "REG_SZ", $size[0])
DllCall("user32.dll", "Int", "SendMessage", "hwnd", 0xFFFF, "int", 0x001A, "int", 0, "int", 0)
代码在xp下可以 在win7下无效 |
|