如何使用不同的Aero玻璃框架创建窗口?

时间:2011-06-23 13:05:46

标签: delphi windows-7 coding-style window aero-glass

我认为Windows 7中有自定义窗口样式。像这样:

enter image description here enter image description here

正如您所看到的,它与正常风格不同:

enter image description here

如何创建一个可以在第一张图片中看到的样式的窗口?

2 个答案:

答案 0 :(得分:8)

什么是Delphi版本? Delphi 2010可以原生这样做:

enter image description here

您只需要使用表单的GlassFrame属性即可。您可能还想在此处阅读我的答案,并确保您还阅读了评论:Delphi support for Aero Glass and the DoubleBuffered property - what is going on and how do we use them?

答案 1 :(得分:5)

这些都是用玻璃成分颜色完成的。

看看这里:Changing the glass composition color (DWM) using delphi