如何开发虚拟屏幕来改变屏幕坐标? [英] how to develop virtual screen to change screen coordinate?

查看:86
本文介绍了如何开发虚拟屏幕来改变屏幕坐标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想尝试开发虚拟屏幕以更改屏幕坐标。


文档在哪里?或者我可以开发更改屏幕坐标吗?




解决方案


感谢您发布此处。


您可以尝试使用 MapWindowPoints 方法  ;该函数将一组点
从相对于一个窗口的坐标空间转换(映射)到相对于另一个窗口的坐标空间。


如果要转换屏幕坐标到指定的屏幕区域。您可以使用&bbsp
ScreenToClient 方法。


有关更实用的功能,请参阅文档。


https://msdn.microsoft.com/en-us/library/windows/desktop/dd183476(v=vs.85 ).aspx


最好的问候,


Hart



I want to try develop virtual screen to change screen coordinates.

where are the document? or can I develop change screen coordinate?


解决方案

Hi,

Thank you for posting here.

You can try to use MapWindowPoints method that The function converts (maps) a set of points from a coordinate space relative to one window to a coordinate space relative to another window.

If you want to convert screen coordinates to specified screen area. You can use the ScreenToClient method.

For more useful function, please see the document.

https://msdn.microsoft.com/en-us/library/windows/desktop/dd183476(v=vs.85).aspx

Best Regards,

Hart


这篇关于如何开发虚拟屏幕来改变屏幕坐标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆