Visual Studio 2012是否使用WPF的WindowChrome技巧?

编程入门 行业动态 更新时间:2024-10-19 08:51:54
本文介绍了Visual Studio 2012是否使用WPF的WindowChrome技巧?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我看到相同的渲染行为(调整大小时会出现一些黑色飞溅)当VS2012没有响应时,真正的标题栏会再次显示在WPF上,而不是在外面。这是WindowChrome的作用,提供非客户区域的绘图。 然后我认为在WinAPI的绘图区域之外制作阴影效果是不可能的..但似乎它们实际上是成功的,有意思。 那么,他们使用过WindowChrome还是别的什么?我真的很想知道。

I see the same rendering behavior (With some black splashes when resizing) And when VS2012 not responding the real title-bar appears again over WPF''s and not outside . Which is what WindowChrome does , Providing drawing on non-client areas . But then i thought that it''s impossible to make a drop-shadow effect outside of WinAPI''s drawing area .. But seems that they actually success , Interesting . SO , Did they used WindowChrome or something else ? I really want to know .

推荐答案

这不是一个问题 - 这是一个讨论,最好在论坛中提出。 This is not a question - this is a discussion and would be better raised in the forums.

更多推荐

Visual Studio 2012是否使用WPF的WindowChrome技巧?

本文发布于:2023-11-11 23:02:10,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1579792.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:技巧   Studio   Visual   WindowChrome   WPF

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!