Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/solr/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 在windows 8.1 rt上模拟鼠标光标(仅限metro)?_C#_Microsoft Metro_Mouse_Windows 8.1_Windows Rt - Fatal编程技术网

C# 在windows 8.1 rt上模拟鼠标光标(仅限metro)?

C# 在windows 8.1 rt上模拟鼠标光标(仅限metro)?,c#,microsoft-metro,mouse,windows-8.1,windows-rt,C#,Microsoft Metro,Mouse,Windows 8.1,Windows Rt,我想知道,是否有可能从metro应用程序在windows 8.1 rt中激活和控制光标? 我的做法是: system.windows.forms.cursor.handle //or system.windows.forms.control.mouseposition 这行吗?如果行,我是否需要首先以某种方式初始化鼠标?这是不可能的。Windows运行时不提供用于控制光标的API 您不能使用Windows窗体API,因为它不能导入Windows应用商店应用程序的项目中。这样行吗为什么不试试看呢

我想知道,是否有可能从metro应用程序在windows 8.1 rt中激活和控制光标? 我的做法是:

system.windows.forms.cursor.handle
//or
system.windows.forms.control.mouseposition

这行吗?如果行,我是否需要首先以某种方式初始化鼠标?

这是不可能的。Windows运行时不提供用于控制光标的API


您不能使用Windows窗体API,因为它不能导入Windows应用商店应用程序的项目中。

这样行吗
为什么不试试看呢?因为atm附近没有Windows平板电脑。我还想知道,为什么没有适用于windows rt的鼠标模拟器应用程序