标签: delphi multiple-monitors
我目前有一个应用程序需要知道在多监视器配置中运行时光标所在的监视器。
答案 0 :(得分:11)
GetCursorPos和MonitorFromPoint。
答案 1 :(得分:5)
不要忘记Screen.MonitorFromPoint和Mouse.CursorPos - 这些WinAPI函数封装在VCL中。