自己的C#应用​​程序中的Windows Aero区域 [英] Windows Aero areas in own C# Applications

查看:77
本文介绍了自己的C#应用​​程序中的Windows Aero区域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道很多新应用程序(我认为大多数内置于WPF中)具有如此酷的Windows Aero Glass界面。

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

例如Seesmic或即将推出的产品Firefox 3.7


(来源: crenk.com

For example Seesmic or the upcoming Firefox 3.7
(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.

所以我的问题是: Windows Aero Glass Areas-怎么办?

是否只有骇客才有可能?

Is it only possible with a hack?

也许只是一个财产,我不知道。我是WinForms开发人员,所以我从未测试过WPF。但是我的Google搜索看起来并不像使用WPF更容易。

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.

推荐答案

要安装Aero玻璃,您需要使用桌面窗口管理器。这是一个Win32 DLL,因此您需要P /调用它。有关如何执行此操作的文章遍布Internet,例如。 http://blogs.msdn.com/b/ adam_nathan / archive / 2006/05/04 / 589686.aspx 使用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. http://blogs.msdn.com/b/adam_nathan/archive/2006/05/04/589686.aspx Using P/Invoke is definitely not a hack.

这篇关于自己的C#应用​​程序中的Windows Aero区域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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