当用户使用 Windows XP 时,如何在 WPF 窗口的镶边上放置控件?

发布于 2024-08-25 22:11:23 字数 305 浏览 10 评论 0原文

如何将控件放置在 WPF 窗口的框架上?
我查看了此内容,但我不知道如何在 WPF 中执行此操作。 链接文本
问题出现在以下情况该应用程序必须在没有 DWM 支持的 Windows XP 上运行。
另外,如果在没有 DWM 的 Vista 上运行,本文是否仍然有效?

How can you place controls on a frame of a WPF window?
I took a look at this but I don't know how to do this in WPF. link text
The problem comes when The application has to run on Windows XP where there is no DWM support.
Also, if this is running on Vista without DWM, could the article still work?

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

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

发布评论

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

评论(1

蹲在坟头点根烟 2024-09-01 22:11:23

这篇文章不会起作用,至少不会完全像写的那样。

为了在 XP 上执行此操作,您可以使用相同的基本技术,但您需要自己实际“绘制”镶边,因为不存在 DWM 来为您执行此操作。

The article will not work, at least not exactly as written.

In order to do this on XP, you use the same basic technique, but you need to actually "draw" the chrome yourself, since the DWM doesn't exist in order to do it for you.

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