如何创建一个新的桌面? C ++ [英] How to create a new desktop? C++

查看:233
本文介绍了如何创建一个新的桌面? C ++的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在C ++中创建新桌面?
我知道CreateDesktop()API,但它不会加载memus或explorer.exe的事情。

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.

推荐答案

如果没有太多麻烦, a href =http://msdn.microsoft.com/en-us/library/ms682573%28VS.85%29.aspx =nofollow>窗口站,这可能是您要找的。

Take a look at Window Stations, this may be what your looking for.

但是,这也不同于会话(UAC)。

However, this also is different from a session (UAC).

如何以程序方式执行此操作的源代码作为项目的一部分提供( JobObjectWrapper )。

The source code for how to programtically do this is included as part of this project (JobObjectWrapper).

事实上,我错了,JobObjectWrapper只有 secure的 answererer这里是正确的,另一个问题有相同的 answer ,virtuawin也是开放的。

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.

这篇关于如何创建一个新的桌面? C ++的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆