读书人

!一个主机可以接两个投影仪,让两个投

发布时间: 2012-01-10 21:26:51 作者: rapoo

求助!!一个主机可以接两个投影仪,让两个投影仪各显示屏幕的一半?
如题

[解决办法]
call 多屏 api
EnumDisplayMonitors Enumerates display monitors that intersect a region formed by the intersection of a specified clipping rectangle and the visible region of a device context.

GetMonitorInfo Retrieves information about a display monitor.
MonitorEnumProc An application-defined callback function that is called by the
EnumDisplayMonitors function.

MonitorFromPoint Retrieves a handle to the display monitor that contains a specified point.
MonitorFromRect Retrieves a handle to the display monitor that has the largest area of intersection with a specified rectangle.

MonitorFromWindow Retrieves a handle to the display monitor that has the largest area of intersection with the bounding rectangle of a specified window.

读书人网 >VC

热点推荐