问题标签 [desktop]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
7 回答
4188 浏览

java - 如何使桌面应用程序模块化?

如何使 Java 桌面应用程序模块化?模块应该如何分类?

0 投票
3 回答
339 浏览

c++ - Problem with desktops

I have this code:

When I run this, it creates new desktop, switch to it, but command prompt not appeared. I must manualy terminate process "cmd" and my program then continue. Is there a way to show window of any application on other desktop? And how I can change background of desktop I created? Please help.

0 投票
2 回答
3959 浏览

wpf - 更换桌面壁纸/在桌面上绘图

我想对我的 Windows 桌面进行一些自定义绘图,使其看起来可以替换桌面背景(壁纸)。我的第一次尝试是获得一个 DCdesktopListView并吸引它:

然后,我尝试创建一个 NativeWindow 并WM_PAINT通过将本机窗口的句柄分配给桌面并进行自己的绘图来捕获消息,但我无法看到桌面上的任何消息。

理想情况下,我想在 WPF 而不是 Windows 窗体中执行此操作。有什么线索可以创建一个我可以绘制到的 WPF 窗口,该窗口位于桌面图标下方但位于墙纸顶部,以便它忽略任何鼠标消息并且桌面继续正常工作?

0 投票
2 回答
1521 浏览

c++ - 如何删除运行程序的 Win32 桌面并终止这些程序?

我有这个代码:

当我按 F12 时,桌面切换到原始并且程序将关闭,但是如果我在第二个桌面上运行任何程序,则不要终止,当我再次运行我的程序时,任何程序都会出现。有没有办法删除带有程序的桌面,或者在退出时自动终止通过第二个桌面运行的程序?请帮忙。

0 投票
2 回答
204 浏览

c# - Desktop Development : Remember Target After Losing Focus

Is it possible to take focus from another program to respond to an event, but then once the response has been handled, switch back to the previous program and restore the cursor where it was?

This sounds like a weird question, but think of it along the lines of

  1. User is typing in a text box in Program A.
  2. A window for Program B pops up and user presses a few buttons to confirm something.
  3. Program B returns control to Program A and restores the selection of the textbox.

If there is a complete C# solution, then great, but this sounds like it might require a little more effort than usual.

Any thoughts?

0 投票
1 回答
615 浏览

linux - IP KVMs / remote access to linux x11 session with no window-manager

can somebody recommend me good affordable IP KVM? Like Adder. Or some articles evaluating such KVMs?

My project:

Provide remote support to Linux (Fedora) based software that runs on X, but without any window-manager. I know that there is Gnome vino, but it is buggy and it does not meet my needs for other reasons. I would prefer a hardware solution, although I am still willing to look into sw solutions too.

I have a similar project, where I need to support a DOS-based medical device.

In many cases it would be enough for the remote supporter to see the screen, they could guide the on-site person to type/mouse.

TIA, Radim

0 投票
5 回答
415 浏览

architecture - 通过扩展桌面 web-dev 应用程序创建专门的 CMS。选项?

背景

我们需要开发一个专门的 CMS(仅供内部使用)来支持技术写作团队为 Web 制作专门的长篇内容(即带有图片的文本、交互功能)。为了保护作者免受 Web 开发的细节影响(并提高输出的一致性),我们希望使用参数化占位符来增强常规的 WSIWYG html 编辑器,以用于更专业的内容(例如交互式页面元素)。占位符将通过单独的预发布过程扩展为 html/js/css/flash/etc。

内容生成是业务存在的理由,作者的生产力至关重要。如果我们使用基于网络的 CMS,作者会叛变,我敢肯定。

愿望清单

  • 基本的 Web 开发设计表面
  • 跨平台(mac/windows)
  • 源代码控制集成
  • 使用 GUI 添加/编辑占位符的能力
  • 在设计图面上指示占位符的能力
  • 能够将我们自己的报告构建到 UI 中(例如拼写检查)
  • 离线编辑(例如在飞机上,在展会上)

到目前为止的选项

开箱即用的东西不太可能足够灵活。因此,我们很可能不得不扩展现有产品。为了获得离线功能和坚如磐石的编辑,我们正在考虑扩展桌面应用程序。到目前为止,这是我们的选择:

  • Dreameaver CS4(优点:熟悉,跨平台。缺点:有限的扩展 api
  • Visual Studio(优点:良好的可扩展性。缺点:恐吓作家,Mac 用户将需要 VM)

请告诉我,我有比这更多的选择!

0 投票
3 回答
277 浏览

c# - 我应该使用什么设计模式在桌面应用程序的多个对话框之间传递信息?

我正在使用 .NET 开发一个 CRUD 应用程序,并且我必须实现大约 10 个左右的对话框。用户将在一个对话框中输入信息,然后根据传递的信息被发送到另一个对话框。这个应用程序基本上反映了 Spring MVC 和 JSF 在 JSP 页面之间传递信息时所做的事情。

是否有可以与 MVC 模式/体系结构一起使用的设计模式来帮助我在对话框之间传输信息?

0 投票
3 回答
8563 浏览

c# - 通过 C# 进行 Windows 桌面搜索

我在哪里可以找到有关 WDS 的文档,特别是使用 C# 中的 SQL 查询来查询 WDS?是否有任何资源列出了可以从 SystemIndex 查询的列?此外,我希望查询返回“上下文”,即就像 WDS 客户端对找到搜索词的文档中的几行所做的那样。我使用的是 WDS 4.0,尽管我相信 3+ 的 API 是相同的。我检查了 MSDN 和其他网站,但没有运气。

0 投票
1 回答
1580 浏览

windows - 如何编写一个 Windows 应用程序来更改桌面壁纸?

我想编写一个小型 Windows 应用程序,它根据从 Web 服务检索到的照片更改桌面墙纸?我该怎么办?用哪种语言/技术编写代码最快?