自己的 C# 应用程序中的 Windows Aero 区域

发布于 2024-08-29 13:54:46 字数 674 浏览 1 评论 0原文

我想知道许多新应用程序(我认为大多数是在 WPF 中构建的)都具有非常酷的 Windows Aero Glass 界面。

例如 Seesmic 或即将推出的 Firefox 3.7 http: //crenk.com/wp-content/uploads/2010/04/firefox3.7.jpg
(来源:crenk.com

大多数时候在互联网上搜索看起来你需要一个黑客才能实现这一点。但说实话:我不认为大型软件开发团队会使用黑客技术来推出他们庞大的二手产品。

所以我的问题是:Windows Aero Glass Areas - 如何做?

是否只能通过黑客手段实现?

也许这只是一项财产,我不知道。我是 WinForms 开发人员,所以我从未测试过 WPF。但我的 Google 搜索看起来并不像 It is easy with WPF。

I'm wondering about that many new applications, I think most built in WPF, has this really cool Windows Aero Glass interfaces.

For example Seesmic or the upcoming Firefox 3.7
http://crenk.com/wp-content/uploads/2010/04/firefox3.7.jpg
(source: crenk.com)

Searching in the internet most time it looks like you need a hack to realize this. But seriously: I don't think big software development teams use hacks to roll out their huge used products.

So my question is: Windows Aero Glass Areas - How to do?

Is it only possible with a hack?

Maybe it's just one property, i don't know. I'm WinForms developer so I never tested out WPF. But my Google search didn't look like It is easier with WPF.

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

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

发布评论

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

评论(1

擦肩而过的背影 2024-09-05 13:54:46

要拥有 Aero 玻璃,您需要使用桌面窗口管理器。它是一个 Win32 DLL,因此您需要 P/Invoke 它。有关如何执行此操作的文章遍布互联网,例如。 链接 使用 P/Invoke 绝对不是黑客。

To have Aero glass, you need to use the Desktop Window Manager. It is a Win32 DLL, so you need to P/Invoke it. Articles on how to do this are all over the Internet, ex. Link Using P/Invoke is definitely not a hack.

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