Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating an extra desktop in C# [closed]

I've seen some applications that create virtual desktops. I want to create one.

However, I do not know how you would do this, or even it it is possible.

How do I create a virtual desktop/monitor in C#?

like image 388
requinard Avatar asked Oct 27 '12 18:10

requinard


People also ask

How do I create an extra desktop?

To create multiple desktops: On the taskbar, select Task view > New desktop . Open the apps you want to use on that desktop. To switch to another desktop, select Task view again.

Can you have two desktops one computer?

You can connect and (simultaneously) use up to three monitors using the on-board graphics capability. If you have monitors that only support DVI, you can purchase a HDMI-to-DVI or DisplayPort-to-DVI adaptor (and use your existing DVI-to-DVI cable) or you can purchase a HDMI-to-DVI or DisplayPort-to-DVI cable.


1 Answers

You need to use CreateDesktop function in order to create full functional dekstop on windows os:

Creates a new desktop, associates it with the current window station of the calling process, and assigns it to the calling thread. The calling process must have an associated window station, either assigned by the system at process creation time or set by the SetProcessWindowStation function.

Would invite your attention also on interesting article from CodeProject:

Desktop Switching

In general multidektop environment already exists in Windows Os for many years, but never has been "visible" via any multi-dektop application implemented by MS itself. For some reason MS never, as much as I'm aware of, implemented multidesktop app.

If I'm not mistaken, beginning even from WindowsNT familly OSes, you already have a second desktop. When you press Ctrl+Alt+Del the screen that appears, in reality, is on another, fully functional, windows desktop.

like image 131
Tigran Avatar answered Sep 30 '22 13:09

Tigran