是否有可能实现" Aero玻璃"看看在XP?有可能、玻璃、Aero、QUOT

由网友(陌上柳絮飞)分享简介:有谁知道任何一种框架,使的(不完全一样,但)Vista的Aero玻璃在XP?Does anyone know any kind of framework that enables (not exactly the same, but) Vista's Aero Glass on XP?我需要开发使用WPF,这对XP...

有谁知道任何一种框架,使的(不完全一样,但)Vista的Aero玻璃在XP?

Does anyone know any kind of framework that enables (not exactly the same, but) Vista's Aero Glass on XP?

我需要开发使用WPF,这对XP Vista的状UI一个小的桌面应用程序。我不需要完全的Aero玻璃,一些用户界面类似Windows Live Messenger的会做的事情。 有没有什么办法,使之成为现实?

I need to develop a little desktop application with WPF, which has a Vista-like UI on XP. I don't need exactly the Aero Glass, some UI like "Windows Live Messenger" will do the thing. Is there any way to make it a reality?

推荐答案

如果你真的是航空玻璃那我觉得你的运气了。要产生这种效果所需的硬件加速只能通过Vista的新DWM(桌面窗口管理器),它通过合成多个窗口连成一片渲染层的支持。

If you really mean Aero Glass then I think you're out of luck. The hardware acceleration required to create this effect is only supported via Vista's new DWM (Desktop Window Manager), which works by compositing multiple windows together into one rendered layer.

如果你只是想透明和非矩形窗口那么这绝对可以在XP中实现的,就证明了一个事实,即Windows Live Messenger的可以做到这一点。看一看分层窗口 MSDN中

If you just want transparency and non-rectangular windows then this can definitely be achieved in XP, as evidenced by the fact that Windows Live Messenger can do it. Have a look at Layered Windows in MSDN.

阅读全文

相关推荐

最新文章