如何使用显示器这不是桌面的一部分(Windows 7的)这不是、如何使用、显示器、桌面

2023-09-04 00:44:15 作者:可爱ㄡ嚣张

我想用这实际上标志着更改显示设置下的Windows控制面板断开连接显示器。 (我不是指物理上断开连接显示器。)

I would like to use a monitor which is actually marked "disconnected" in the windows control panel under "Change display settings". (I do NOT mean a physically disconnected monitor.)

我知道如何添加第二个显示器在Windows中,并使其成为桌面的一部分。我也知道如何使一个主要或辅助监视器上我的应用程序运行时,它们是桌面的一部分。

I know how to add a second monitor in Windows and make it part of desktop. I also know how to make my application run on a primary or on secondary monitor when they are part of desktop.

予具有连接到其具有在触摸屏上其在PC一台设备。该触摸屏连接到PC通过USB寻找作为一个普通的USB显示器,我可以让我的Windows桌面的一部分。但是,这不是我想要的。

I have a piece of equipment attached to the PC which has a touch screen on it. The touchscreen is connected to the PC over USB looking as an ordinary USB-Monitor and I can make it part of my Windows desktop. But that is not what I want.

我想要做的就是确保只有一个特殊的应用程序可以在该显示器中运行。我也不想有它在Windows桌面上,因为比用户可以将任何窗口,这是不是我想要的。这背后的所有的想法是使用触摸屏具有在其上的应用程序,它可以控制该外部的设备。用户将只需要运行PC但不能登录。我在想从Windows服务启动的应用程序在Windows桌面加载之前。一旦用户登录时,我不希望他能够使用触摸屏为别的,除了这个特殊的应用程序。这就是为什么在触摸屏不能是Windows桌面的一部分,但关闭。

What I would like to do is make sure that only one special application can run on this monitor. I also do not want to have a windows desktop on it because than the user could move any window to it which is not what I want. The idea behind all this is to use the touch screen to have an application on it which can control this external piece of equipment. The user would only have to run the PC but not to login. I was thinking about starting the app from a windows service before the windows desktop is loaded. And once the user logs in I do not want him to be able to use the touch screen for anything else except this special application. That is why the touch screen must not be part of the windows desktop but "deactivated".

我使用。 NET 4.0和C#我的应用程序,但我会用C ++或什么来得心应手。

I am using . NET 4.0 and C# for my application, but I will use C++ or whatever comes handy.

任何帮助或想法是AP preciated。谢谢!

Any help or idea is appreciated. Thank you!

推荐答案

这似乎WDDM不支持独立的显示器了。在这里,如果有人一些链接想看看他自己:

It seems WDDM does not support independent displays any more. Here some links in case somebody wishes to take a look for himself:

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

的http://msdn.microsoft.com/en-us/library/windows/desktop/dd145179(v=vs.85).aspx

的http://msdn.microsoft.com/en-us/library/windows/desktop/dd145179(v=vs.85).aspx

最重要的部分就是这个帖由第二个链接:

The important part is this note from the second link:

请注意 使用其他监视器作为独立的显示器不支持正在实施的Windows显示驱动程序模型(WDDM)驱动程序

Note Using other monitors as independent displays isn't supported on drivers that are implemented to the Windows Display Driver Model (WDDM).