以Win-7风格结合Windows

发布于 2024-09-11 04:13:46 字数 195 浏览 2 评论 0原文

如果其中一个是非托管窗口,是否可以以 Windows 7 方式组合任务栏上的两个对话框。

例如 - 我有一个使用托管代码编写的安装项目和 CustomActions 库。我正在 CustomInstaller 类中打开一个表单。我知道这听起来很疯狂,但我想有一种方法可以将它们在任务栏上组合在一起。我不喜欢它们现在在任务栏上的样子 - 就像两个不同的应用程序。

Is it possible to combine two dialogs on taskbar in windows 7 fashion, if one of them is an unmanaged window.

For example - I have a setup project and CustomActions library written on managed code. I'm opening a form in my CustomInstaller class. I know it's sounds crazy, but I suppose there is a way to combine them together on the taskbar. I don't like the way they look on taskbar right now - like two different apps.

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

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

发布评论

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

评论(1

剑心龙吟 2024-09-18 04:13:46

他们需要相同的应用程序 ID。您可以通过 API 调用进行设置。 代码包 是从 C# 执行此操作的最简单方法。

They need the same Application ID. You can set it with an API call. The Code Pack is the easiest way to do it from C#.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文