How would I create a new desktop in C++? I know the CreateDesktop() API but it does not load memus or explorer.exe for the matter. If not to much trouble would love an example to make a desktop with menus.
2 Answers
Take a look at Window Stations, this may be what your looking for.
However, this also is different from a session (UAC).
The source code for how to programtically do this is included as part of this project (JobObjectWrapper).
Hey actually, I'm wrong, JobObjectWrapper only secure's that interface, the other answerer here was correct, another question had the same answer, virtuawin is open soure too.

- 1
- 1

- 5,923
- 1
- 36
- 35
-
No I have seen this before but saw no resemblence it made to the new desktop. – H4cKL0rD Jul 19 '09 at 14:15
Take a look at virtuawin (Open source)
(source: sourceforge.net)
VirtuaWin is a virtual desktop manager for the Windows operating system (Win9x/ME/NT/Win2K/XP/Win2003/Vista). A virtual desktop manager lets you organize applications over several virtual desktops (also called 'workspaces'). Virtual desktops are very common in Unix/Linux, and once you get accustomed to using them, they become an essential part of a productive workflow.

- 21,988
- 13
- 81
- 109

- 31,691
- 7
- 68
- 87
-
No ive had these before its the code im troubling with.to make it start up explorer.exe and window switching – H4cKL0rD Jul 19 '09 at 14:30