Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我对多个显示器和可可的经验为零。随意分享任何方便的链接,教程。我需要的是:我正在尝试用全屏透明窗口填充所有显示器。不过,我担心的是,所有显示器不一定一起形成一个矩形,而是必须触摸到某个地方。
您对此有何看法?
您将为每个未镜像的显示设置一个窗口。您正在寻找的 API 是“Quartz Display Services”。
CGGetActiveDisplayList为您提供非睡眠、非镜像、可绘制的显示列表。
CGGetActiveDisplayList