How to create a new desktop? C++


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.


Take a look at <a href="http://msdn.microsoft.com/en-us/library/ms682573(VS.85).aspx" rel="nofollow">Window Stations</a>, this may be what your looking for.

However, this also is different from a <a href="http://www.ditii.com/2007/07/24/basics-of-sessions-desktops-and-windows-stations/" rel="nofollow">session</a> (UAC).

The source code for how to programtically do this is included as part of <a href="http://jobobjectwrapper.codeplex.com/" rel="nofollow">this</a> project (<a href="http://jobobjectwrapper.codeplex.com/" rel="nofollow">JobObjectWrapper</a>).

Hey actually, I'm wrong, JobObjectWrapper only <em>secure's</em> that interface, the other answerer here was correct, <a href="https://stackoverflow.com/questions/472161/moving-applications-between-desktops-in-windows" rel="nofollow">another question</a> had the same <a href="http://virtuawin.sourceforge.net/" rel="nofollow">answer</a>, virtuawin is open soure too.


Take a look at <a href="http://virtuawin.sourceforge.net/downloads.php" rel="nofollow">virtuawin</a> (Open source)

<a href="http://virtuawin.sourceforge.net/img/home/screen_1.jpg" rel="nofollow">VirtuaWin http://virtuawin.sourceforge.net/img/home/screen_1.jpg</a>


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.



  • qemu-system-aarch64 exit from within the guest system
  • Getting memory leaks in Glib/GDBus code?
  • Detect which script causes server overload - apache + php
  • Cassandra eats memory
  • Pentaho DI Send Mail. Read timed out
  • Permission for session directory
  • FTP script retain timestamp of a file after put
  • SSL error RemoteCertificateNameMismatch
  • Java Jersey RESTful web service using https
  • Double Submit Cookies and multiple tabs?
  • Java Generate SOAP Envelope
  • Set a cookie from view, then read it from Controller in Rails
  • Why does React.js' API warn against inserting raw HTML?
  • How to Grab SSL Certificate in OpenSSL
  • Re-fill posted form data via PHP securely
  • What's the need of Informal Protocols?
  • Cast uint -> double invalid?
  • TelephonyManager crashing on android studio
  • What to use (best/good practice) for the secret key in HMAC solution?
  • IIS7 Application Request Routing HTTPS
  • Keeping the user's input intact when outputing to terminal at the same time
  • How can you tell if a Python program has anything to read from stdin?
  • Call a php script whenever an e-mail is received?
  • Does Apportable support to build library binary (.a/.so)?
  • how to set variables in a php include file?
  • Jenkins: FATAL: Could not initialize class hudson.util.ProcessTree$UnixReflection
  • Eloquent paginate function in Slim 3 project using twig
  • Meteor: Do Something On Email Verification Confirmation
  • Switching to Release Build causes runtime error in Web Reference
  • Where to put my custom functions in Wordpress?
  • Jquery - Jquery Wysiwyg return html as a string
  • QuartzCore.framework for Mono Develop
  • SVN: Merging two branches together
  • RestKit - RKRequestDelegate does not exist
  • WPF Applying a trigger on binding failure
  • -fvisibility=hidden not passed by compiler for Debug builds
  • How to CLICK on IE download dialog box i.e.(Open, Save, Save As…)
  • How can I remove ASP.NET Designer.cs files?
  • Append folder name and increment by 1 using batch script
  • java string with new operator and a literal