WindowsXP:一台显示器上的多个桌面(如 Linux)(C#)

发布于 2024-07-30 21:00:59 字数 163 浏览 3 评论 0原文

有没有办法在 C# 中创建第二个桌面屏幕 - 就像在 Linux 中一样? 我以前从未这样做过,但我发现这个想法很有趣。

我已经尝试了一些示例,但没有一个可以编译。 当我尝试调试时,其中之一出现了 294 错误。 哇! 然而,试图再次(一年后)找到这些样本被证明是非常困难的。

Is there a way to create a second Desktop screen in C# - just like they do in Linux? I've never done this before but I find the idea very interesting.

I have tried a few samples out there, none of which would even compile. One of them had 294 errors when I tried to debug. Wow! However, trying to find these samples again (a year later) is proving to be very difficult.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

美人迟暮 2024-08-06 21:01:02

我正在使用 SysInternals 桌面。 基本的东西,没有花哨的东西。 马克·鲁西诺维奇通常是可靠的消息来源。

I'm using SysInternals Desktops. Basic stuff, no fancy things. Mark Russinovich is usually a reliable source.

看海 2024-08-06 21:01:01

通常您有两个选择:

  1. CreateDesktop< /代码>。 优点是操作系统可以长期支持此功能,缺点是进程仅限于它们启动的桌面; 您无法在桌面之间移动窗口。
  2. 一切都自己管理。 这意味着在更改桌面时隐藏和显示窗口。 当然更加灵活,但工作量也更大。

Usually you have two options for this:

  1. CreateDesktop. Advantage is that the operating system supports this for ages out of the box, disadvantage is that processes are confined to the desktop they start on; you can't move windows between desktops.
  2. Manage everything yourself. That means hiding and showing windows when changing desktops. Certainly more flexible, but also much more work.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文