var path = 获取资源路径("rc:") dm0.SetPath(path) hwnd0 = dm0.GetMousePointWindow() //获取鼠标所在的窗口句柄. 窗口类。检测窗口无响应。 调用系统api: IsHungAppWindow(hwnd) 精品区。后台教程。