| 子程序名 | 返回值类型 | 公开 | 备 注 | ||
| 系统_清除托盘残留1 | 清除因调试或者其他原因进程已退出但托盘未退出的残留图标,不支持XP | ||||
| 变量名 | 类 型 | 静态 | 数组 | 备 注 | ||
| hShellTrayWnd | 整数型 | |||||
| hTrayNotifyWnd | 整数型 | |||||
| hSysPager | 整数型 | |||||
| hToolbarWindow32 | 整数型 | |||||
| r | RECT | |||||
| width | 整数型 | |||||
| height | 整数型 | |||||
| x | 整数型 | |||||
hTrayNotifyWnd = FindWindowExA (hShellTrayWnd, 0, “TrayNotifyWnd”, 字符 ( #NULL ))
hSysPager = FindWindowExA (hTrayNotifyWnd, 0, “SysPager”, 字符 ( #NULL ))
如果 (hSysPager ≠ 0)
hToolbarWindow32 = FindWindowExA (hSysPager, 0, “ToolbarWindow32”, 字符 ( #NULL ))
hToolbarWindow32 = FindWindowExA (hTrayNotifyWnd, 0, “ToolbarWindow32”, 字符 ( #NULL ))
如果真 (hToolbarWindow32 ≠ 0)
GetWindowRect (hToolbarWindow32, r)
width = r.Right - r.Left
height = r.Bottom - r.Top
变量循环首 (1, width, 1, x)
SendMessageA (hToolbarWindow32, #WM_MOUSEMOVE, 0, 合并整数 (x, height ÷ 2))
变量循环尾 ()
词条作者信息 使用例程
