Vista 下 MDI 窗口的玻璃外观

发布于 2024-07-11 21:13:41 字数 127 浏览 5 评论 0原文

我正在 VS 2008 中用 C# 开发 winforms MDI 应用程序。 我注意到 MDI 窗体在 Vista 下没有玻璃外观。

这是设计使然吗? 有没有一种简单的方法可以让这些窗户的玻璃看起来更漂亮?

I am developing a winforms MDI application in C# in VS 2008.
I have noticed that the MDI forms don't have the glass look under Vista.

Is this by design?
Is there a simple way to get the glass look for these windows?

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

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

发布评论

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

评论(2

雨的味道风的声音 2024-07-18 21:13:41

默认情况下,WinForms(或 WPF 应用程序)上不启用玻璃。 启用 glass 的唯一方法是 PInvoke 到本机 API 中。 这个频道 9 网站为一个很棒的实用程序提供了一个教程,可以让您轻松地将 Glass 效果添加到您的控件中。

http://channel9.msdn.com/playground/Sandbox/201158/

By default glass is not enabled on WinForms (or for that matter WPF applications). The only way to enable glass is to PInvoke into native API's. This channel9 site does a tutorial for a great utility that makse it trivial to add Glass effects to your controls.

http://channel9.msdn.com/playground/Sandbox/201158/

苏别ゝ 2024-07-18 21:13:41

不可以,Glass 不适用于 MDI 儿童。

Nope, Glass is not available for MDI children.

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