Screen area vs Work area rectangle

一曲冷凌霜 提交于 2019-12-10 03:26:20

问题


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


回答1:


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



来源:https://stackoverflow.com/questions/4041331/screen-area-vs-work-area-rectangle

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!