屏幕区域与工作区域矩形

发布于 2024-09-30 01:57:14 字数 229 浏览 1 评论 0原文

看看这个 API 文档页面...

任何人都可以向我解释一下两者之间的区别rcMonitor和rcWork组件的MONITORINFO结构?虽然我很高兴窗口有无法使用的区域(例如标题),但我真的不明白这如何适用于显示器......

感谢所有贡献......

马丁

Have a look at this API documentation page...

Can anyone explain to me the difference between the rcMonitor and rcWork components of the MONITORINFO structure? Although I'm happy with the idea that a window has areas you can't work with (like the caption for instance), I don't really see how this applies to monitors...

All contributions gratefully received...

Martin

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

妥活 2024-10-07 01:57:14

rcMonitor 是显示器的总分辨率

rcWork 是您可以使用的最大区域,例如,如果您全屏最大化了窗口

工作区是
屏幕未被系统遮挡
任务栏或应用程序桌面
工具栏。

http://msdn.microsoft.com/en-us/library/ms724947 - SPI_GETWORKAREA

rcMonitor is the total resolution of the display

rcWork is the max area you can use,eg if you went fullscreen maximized a window

The work area is the portion of the
screen not obscured by the system
taskbar or by application desktop
toolbars.

http://msdn.microsoft.com/en-us/library/ms724947 - SPI_GETWORKAREA

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文